Android 12のスプラッシュ表示用の指定を追加

This commit is contained in:
tateisu 2021-11-07 05:47:38 +09:00
parent 2fb86b714e
commit 1c946a6b1d
4 changed files with 20 additions and 16 deletions

View File

@ -1,15 +0,0 @@
<resources>
<!-- light theme -->
<style name="AppTheme.Light" parent="AppTheme.Light.Base">
<!-- <item name="android:navigationBarColor">@android:color/transparent</item>-->
<!-- <item name="android:statusBarColor">@android:color/transparent</item>-->
</style>
<!-- dark theme -->
<style name="AppTheme.Dark" parent="AppTheme.Dark.Base">
<!-- <item name="android:navigationBarColor">@android:color/transparent</item>-->
<!-- <item name="android:statusBarColor">@android:color/transparent</item>-->
</style>
</resources>

View File

@ -0,0 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- light theme -->
<style name="AppTheme.Light" parent="AppTheme.Light.Base">
<item name="android:windowSplashScreenBackground">@color/Other_splashBackground</item>
<item name="android:windowSplashScreenAnimatedIcon">@mipmap/ic_launcher_foreground</item>
<item name="android:windowSplashScreenAnimationDuration">1000</item>
</style>
<!-- dark theme -->
<style name="AppTheme.Dark" parent="AppTheme.Dark.Base">
<item name="android:windowSplashScreenBackground">@color/Other_splashBackground</item>
<item name="android:windowSplashScreenAnimatedIcon">@mipmap/ic_launcher_foreground</item>
<item name="android:windowSplashScreenAnimationDuration">1000</item>
</style>
</resources>

View File

@ -111,4 +111,8 @@
<color name="Dark_colorColumnListDeleteText">#fff</color>
<color name="Dark_colorRegexFilterError">#f00</color>
<!-- スプラッシュ画面の背景色はテーマ関係なし -->
<color name="Other_splashBackground">#0080ff</color>
windowSplashScreenAnimationDuration
</resources>

View File

@ -3,7 +3,6 @@
<style name="AppTheme.Light" parent="AppTheme.Light.Base">
</style>
<!-- dark theme -->
<style name="AppTheme.Dark" parent="AppTheme.Dark.Base">
</style>