fix to launch theme

This commit is contained in:
Adam Velebil 2022-09-16 15:06:31 +02:00
parent c7f3aa4557
commit d40a2b6bd4
No known key found for this signature in database
GPG Key ID: AC6D6B9D715FC084
2 changed files with 12 additions and 3 deletions

View File

@ -1,5 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="LaunchThemeBase">
<item name="android:navigationBarColor">@android:color/transparent</item>
</style>
<style name="NormalTheme" parent="Theme.MaterialComponents.DayNight">
<item name="android:defaultFocusHighlightEnabled">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item>

View File

@ -1,17 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<resources xmlns:tools="http://schemas.android.com/tools">
<style name="LaunchTheme" parent="Theme.MaterialComponents.DayNight">
<style name="LaunchThemeBase" parent="Theme.MaterialComponents.DayNight">
<item name="colorPrimary">@color/yubico_green</item>
<item name="colorPrimaryVariant">@color/yubico_green</item>
<item name="colorPrimaryDark">@color/yubico_green</item>
<item name="android:windowBackground">@drawable/launch_background</item>
<item name="android:windowDrawsSystemBarBackgrounds">true</item>
<item name="android:windowTranslucentStatus">true</item>
<item name="android:navigationBarColor">@color/yubico_green</item>
<item name="android:windowLightNavigationBar" tools:targetApi="27">false</item>
<item name="android:fitsSystemWindows">false</item>
</style>
<style name="LaunchTheme" parent="LaunchThemeBase">
<item name="android:navigationBarColor">@color/yubico_green</item>
</style>
<style name="NormalTheme" parent="Theme.MaterialComponents.DayNight">
<item name="android:windowBackground">?android:colorBackground</item>
<item name="android:windowDrawsSystemBarBackgrounds">false</item>