mirror of
https://github.com/mollyim/mollyim-android.git
synced 2025-05-12 21:30:39 +01:00
Fix splash screen themes for API < 31
This commit is contained in:
parent
2dae3cccea
commit
bdffe24fdb
5 changed files with 11 additions and 15 deletions
|
@ -1,7 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.Molly.Starting" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/core_ultramarine_icon_dark</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_animated_dark</item>
|
||||
</style>
|
||||
</resources>
|
|
@ -16,4 +16,5 @@
|
|||
<style name="Theme.Molly.Dynamic.NoActionBar" parent="Theme.Molly.Dynamic.NoActionBar.Dark" />
|
||||
<style name="Theme.Molly.Dynamic.Registration" parent="Theme.Molly.Dynamic.Registration.Dark" />
|
||||
<style name="Theme.Molly.Dynamic.ConversationSettings" parent="Theme.Molly.Dynamic.ConversationSettings.Dark" />
|
||||
<style name="Theme.Molly.Starting" parent="Theme.Molly.Starting.Dark" />
|
||||
</resources>
|
||||
|
|
|
@ -1,17 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
<style name="Theme.Molly.Starting" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/core_ultramarine_icon</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_animated</item>
|
||||
</style>
|
||||
|
||||
<!-- Exists for manual override of Splash theme when setting app theme-->
|
||||
<style name="Theme.Molly.Starting.Light" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/core_ultramarine_icon</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_animated</item>
|
||||
</style>
|
||||
|
||||
<!-- Exists for manual override of Splash theme when setting app theme-->
|
||||
<style name="Theme.Molly.Starting.Dark" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/core_ultramarine_icon_dark</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_splash_animated_dark</item>
|
||||
|
|
|
@ -16,4 +16,5 @@
|
|||
<style name="Theme.Molly.Dynamic.NoActionBar" parent="Theme.Molly.Dynamic.NoActionBar.Light" />
|
||||
<style name="Theme.Molly.Dynamic.Registration" parent="Theme.Molly.Dynamic.Registration.Light" />
|
||||
<style name="Theme.Molly.Dynamic.ConversationSettings" parent="Theme.Molly.Dynamic.ConversationSettings.Light" />
|
||||
<style name="Theme.Molly.Starting" parent="Theme.Molly.Starting.Light" />
|
||||
</resources>
|
||||
|
|
|
@ -15,7 +15,15 @@
|
|||
|
||||
<!-- MOLLY: Theme.Signal.DayNight.NoActionBar now in light_themes.xml -->
|
||||
|
||||
<style name="Theme.Molly.Starting" parent="Theme.SplashScreen" />
|
||||
<style name="Theme.Molly.Starting.Light" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/core_ultramarine_icon</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.Molly.Starting.Dark" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/core_ultramarine_icon_dark</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
|
||||
</style>
|
||||
|
||||
<style name="TextSecure.LightNoActionBar" parent="@style/TextSecure.BaseLightNoActionBar">
|
||||
<!-- leave empty to allow overriding -->
|
||||
|
|
Loading…
Reference in a new issue