File tree Expand file tree Collapse file tree
app/src/main/res/values-v31 Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ <?xml version =" 1.0" encoding =" utf-8" ?>
2+ <resources >
3+
4+ <!-- 适配 Android 12 SplashScreen 特性 -->
5+ <style name =" SplashTheme" parent =" FullScreenTheme" >
6+ <!-- https://www.jianshu.com/p/d0d907754603 -->
7+ <item name =" android:windowIsTranslucent" >false</item >
8+ <item name =" android:windowDisablePreview" >true</item >
9+ <!-- 启动画面背景颜色 -->
10+ <item name =" android:windowSplashScreenBackground" >@color/transparent</item >
11+ <!-- 启动画面中间显示的图标,默认使用应用图标 -->
12+ <item name =" android:windowSplashScreenIconBackgroundColor" >@color/transparent</item >
13+ <!-- 启动画面中间显示的图标的背景,如果图标背景不透明则无效 -->
14+ <item name =" android:windowSplashScreenAnimatedIcon" >@color/transparent</item >
15+ <!-- 启动画面启动画面底部的图片,可以使用品牌的 logo -->
16+ <item name =" android:windowSplashScreenBrandingImage" >@color/transparent</item >
17+ </style >
18+
19+ </resources >
You can’t perform that action at this time.
0 commit comments