- fixed fade animation color on dark mode (was always white)
This commit is contained in:
parent
c6fc672cd1
commit
01814d8b31
11 changed files with 103 additions and 44 deletions
6
app/src/main/res/values-night/colors.xml
Normal file
6
app/src/main/res/values-night/colors.xml
Normal file
|
@ -0,0 +1,6 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="window_color">@android:color/black</color>
|
||||
|
||||
</resources>
|
|
@ -16,12 +16,14 @@
|
|||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowSharedElementsUseOverlay">false</item>
|
||||
<item name="android:textViewStyle">@style/TextViewStyleIm</item>
|
||||
<item name="android:windowBackground">@color/window_color_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.FollowSystem" parent="Theme.RetroMusic.Base.Adaptive">
|
||||
<item name="android:statusBarColor">@android:color/transparent</item>
|
||||
<item name="android:windowSharedElementsUseOverlay">false</item>
|
||||
<item name="android:textViewStyle">@style/TextViewStyleIm</item>
|
||||
<item name="android:windowBackground">@color/window_color</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Notification" parent="@android:style/TextAppearance.Material.Notification" />
|
||||
|
|
|
@ -56,7 +56,7 @@
|
|||
<item name="android:windowLightNavigationBar">false</item>
|
||||
<!--Manual setting colors-->
|
||||
<item name="colorSurface">@color/darkColorSurface</item>
|
||||
|
||||
<item name="android:windowBackground">@color/window_color_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Base.Light" parent="Theme.MaterialComponents.Light.NoActionBar">
|
||||
|
|
|
@ -1,5 +1,10 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<resources>
|
||||
|
||||
<color name="window_color">@color/md_white_1000</color>
|
||||
<color name="window_color_light">@color/md_white_1000</color>
|
||||
<color name="window_color_dark">@android:color/black</color>
|
||||
|
||||
<color name="twenty_percent_black_overlay">#34000000</color>
|
||||
<color name="eighty_percent_black_overlay">#80000000</color>
|
||||
<color name="app_shortcut_default_foreground">#607d8b</color>
|
||||
|
|
|
@ -2,11 +2,17 @@
|
|||
|
||||
<style name="Theme.RetroMusic" parent="Theme.RetroMusic.Base" />
|
||||
|
||||
<style name="Theme.RetroMusic.Light" parent="Theme.RetroMusic.Base.Light" />
|
||||
<style name="Theme.RetroMusic.Light" parent="Theme.RetroMusic.Base.Light" >
|
||||
<item name="android:windowBackground">@color/window_color_light</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Black" parent="Theme.RetroMusic.Base.Black" />
|
||||
<style name="Theme.RetroMusic.Black" parent="Theme.RetroMusic.Base.Black" >
|
||||
<item name="android:windowBackground">@color/window_color_dark</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.FollowSystem" parent="Theme.RetroMusic.Base.Adaptive" />
|
||||
<style name="Theme.RetroMusic.FollowSystem" parent="Theme.RetroMusic.Base.Adaptive" >
|
||||
<item name="android:windowBackground">@color/window_color</item>
|
||||
</style>
|
||||
|
||||
<style name="Theme.RetroMusic.Notification" parent="@android:style/TextAppearance.StatusBar.EventContent" />
|
||||
|
||||
|
|
|
@ -41,6 +41,7 @@
|
|||
|
||||
<!--Manual setting colors-->
|
||||
<item name="colorSurface">@color/darkColorSurface</item>
|
||||
<item name="android:windowBackground">@color/window_color_dark</item>
|
||||
|
||||
</style>
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue