This commit is contained in:
Adam Velebil 2023-05-25 13:45:49 +02:00
commit 9ad4beddce
No known key found for this signature in database
GPG Key ID: C9B1E4A3CBBD2E10
4 changed files with 23 additions and 6 deletions

View File

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="LaunchThemeBase">
<item name="android:windowLightNavigationBar">false</item>
</style>
</resources>

View File

@ -2,10 +2,11 @@
<resources> <resources>
<style name="LaunchTheme" parent="LaunchThemeBase"> <style name="LaunchTheme" parent="LaunchThemeBase">
<item name="android:windowLightNavigationBar">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item> <item name="android:navigationBarColor">@android:color/transparent</item>
</style> </style>
<style name="NormalTheme" parent="Theme.MaterialComponents.DayNight"> <style name="NormalTheme" parent="BaseTheme">
<item name="android:defaultFocusHighlightEnabled">false</item> <item name="android:defaultFocusHighlightEnabled">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item> <item name="android:navigationBarColor">@android:color/transparent</item>
</style> </style>

View File

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<style name="LaunchTheme" parent="LaunchThemeBase">
<item name="android:windowLightNavigationBar">false</item>
<item name="android:navigationBarColor">@android:color/transparent</item>
<item name="android:windowSplashScreenBackground">@color/yubico_green</item>
</style>
</resources>

View File

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