use correct status bar color in splash theme

This commit is contained in:
Daniel Gultsch 2024-04-05 13:13:50 +02:00
parent a2c44aac8a
commit 0f101ffd9f
No known key found for this signature in database
GPG key ID: F43D18AD2A0982C2
2 changed files with 8 additions and 1 deletions

View file

@ -1,5 +1,5 @@
<resources> <resources>
<style name="Theme.Conversations3" parent="Theme.Material3.Dark.NoActionBar"> <style name="Theme.Conversations3" parent="Theme.Material3.Dark.NoActionBar">
<item name="windowActionModeOverlay">true</item> <item name="windowActionModeOverlay">true</item>
<item name="colorPrimary">@color/md_theme_dark_primary</item> <item name="colorPrimary">@color/md_theme_dark_primary</item>
@ -29,4 +29,9 @@
<item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item> <item name="colorSurfaceInverse">@color/md_theme_dark_inverseSurface</item>
<item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item> <item name="colorPrimaryInverse">@color/md_theme_dark_inversePrimary</item>
</style> </style>
<style name="Theme.Conversations3.SplashScreen" parent="@style/Theme.Conversations3">
<item name="android:windowBackground">@drawable/background_splash_screen</item>
<item name="android:windowLightStatusBar">false</item>
</style>
</resources> </resources>

View file

@ -10,8 +10,10 @@
<item name="android:navigationBarColor">@android:color/black</item> <item name="android:navigationBarColor">@android:color/black</item>
</style> </style>
<style name="Theme.Conversations3.SplashScreen" parent="@style/Theme.Conversations3"> <style name="Theme.Conversations3.SplashScreen" parent="@style/Theme.Conversations3">
<item name="android:windowBackground">@drawable/background_splash_screen</item> <item name="android:windowBackground">@drawable/background_splash_screen</item>
<item name="android:windowLightStatusBar">true</item>
</style> </style>
<style name="Theme.Conversations3.Dialog" parent="@style/Theme.Conversations3"> <style name="Theme.Conversations3.Dialog" parent="@style/Theme.Conversations3">