Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #8 from you-apps/fix-splash-screen-color
Browse files Browse the repository at this point in the history
fix: splash screen background color in dark mode
  • Loading branch information
Bnyro authored Sep 28, 2023
2 parents 632adc1 + 29e0b5e commit a7095c6
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 2 deletions.
4 changes: 4 additions & 0 deletions app/src/main/res/values-night/colors.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="windowBackground">#FF000000</color>
</resources>
4 changes: 3 additions & 1 deletion app/src/main/res/values/colors.xml
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources></resources>
<resources>
<color name="windowBackground">#FFFFFFFF</color>
</resources>
8 changes: 7 additions & 1 deletion app/src/main/res/values/themes.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>

<style name="Theme.LibreMusic" parent="android:Theme.Material.Light.NoActionBar" />
<style name="Theme.LibreMusic" parent="android:Theme.Material.Light.NoActionBar">

<item name="android:windowActionModeOverlay">true</item>
<item name="android:windowContentOverlay">@color/windowBackground</item>
<item name="android:windowBackground">@color/windowBackground</item>

</style>
</resources>

0 comments on commit a7095c6

Please sign in to comment.