File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Load Diff This file was deleted.
Original file line number Diff line number Diff line change 11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <resources >
2+ <resources xmlns : tools = " http://schemas.android.com/tools " >
33
44 <!-- 应用主题样式 -->
55 <style name =" AppTheme" parent =" Theme.AppCompat.DayNight.NoActionBar" >
4646 <!-- https://www.jianshu.com/p/d0d907754603 -->
4747 <item name =" android:windowIsTranslucent" >false</item >
4848 <item name =" android:windowDisablePreview" >true</item >
49+ <!-- 适配 Android 12 SplashScreen 特性 -->
50+ <item name =" android:windowSplashScreenBackground" tools : targetApi =" 31" >@color/transparent</item >
51+ <item name =" android:windowSplashScreenIconBackgroundColor" tools : targetApi =" 31" >@color/transparent</item >
52+ <item name =" android:windowSplashScreenAnimatedIcon" tools : targetApi =" 31" >@color/transparent</item >
53+ <item name =" android:windowSplashScreenBrandingImage" tools : targetApi =" 31" >@color/transparent</item >
4954 </style >
5055
5156</resources >
You can’t perform that action at this time.
0 commit comments