style: dark mode support on splash screen
This commit is contained in:
1 parent
a2d049e280
commit
77bcaddc55
6 files changed
+14
-3
No files matched your search
@@ -7,4 +7,5 @@
|
||||
<color name="teal_700">#FF018786</color>
|
||||
<color name="black">#FF000000</color>
|
||||
<color name="white">#FFFFFFFF</color>
|
||||
<color name="splash_background">#FFFFFF</color>
|
||||
</resources>
|
||||
@@ -1,5 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<style name="Theme.WeekFocus" parent="android:Theme.Material.Light.NoActionBar" />
|
||||
<style name="Theme.WeekFocus.Splash" parent="Theme.SplashScreen">
|
||||
<item name="windowSplashScreenBackground">@color/splash_background</item>
|
||||
<item name="windowSplashScreenAnimatedIcon">@drawable/ic_launcher_foreground</item>
|
||||
<item name="postSplashScreenTheme">@style/Theme.WeekFocus</item>
|
||||
</style>
|
||||
</resources>
|
||||
Reference in new issue
Block a user