Refactor Now Playing into Library

Turns out a dedicated Now Playing screen wont look that good, so refactor that into the Library screen. Also replace the ActionBar with a Toolbar and update the theming a bit.
This commit is contained in:
OxygenCobalt
2020-08-17 11:28:23 -06:00
parent 7c447e0296
commit 9961b87f47
9 changed files with 46 additions and 21 deletions
+3 -3
View File
@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<color name="primaryColor">#0d5af5</color>
<color name="primaryLightColor">#6b86ff</color>
<color name="primaryDarkColor">#0032c1</color>
<color name="primaryColor">#272727</color>
<color name="primaryLightColor">#6d6d6d</color>
<color name="primaryDarkColor">#1b1b1b</color>
<color name="secondaryColor">#212121</color>
<color name="secondaryLightColor">#484848</color>
<color name="secondaryDarkColor">#000000</color>
+4
View File
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<dimen name="elevation_normal">4dp</dimen>
</resources>
+2
View File
@@ -1,4 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Auxio</string>
<string name="fragment_library_title">Library</string>
</resources>
+4 -3
View File
@@ -1,9 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<!-- Base theme -->
<style name="AppTheme" parent="Theme.AppCompat.Light.DarkActionBar">
<style name="AppTheme" parent="Theme.AppCompat.DayNight.NoActionBar">
<item name="colorPrimary">@color/primaryColor</item>
<item name="colorPrimaryDark">@color/primaryDarkColor</item>
<item name="colorAccent">@color/secondaryColor</item>
<item name="colorPrimaryDark">@color/primaryColor</item>
<item name="colorAccent">@color/primaryColor</item>
<item name="background">@color/secondaryColor</item>
</style>
</resources>