style: Use colorSurface everywhere

Instead of using @color/background directly, use ?attr/colorSurface
so that changes can be made to the theming easier. This also
resolves some more minor issues regarding certain widget's
backgrounds.
This commit is contained in:
OxygenCobalt
2021-05-24 19:33:54 -06:00
parent 9974bd32eb
commit 804c38d7ce
17 changed files with 36 additions and 26 deletions
@@ -28,7 +28,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
android:background="?android:attr/windowBackground"
android:background="?android:attr/colorBackground"
android:baselineAligned="false"
android:elevation="@dimen/elevation_normal"
android:orientation="horizontal"
@@ -39,7 +39,7 @@
android:layout_width="0dp"
android:layout_height="match_parent"
android:layout_weight="1.5"
android:background="@color/background"
android:background="?android:attr/colorBackground"
android:elevation="0dp"
app:elevation="0dp"
app:menu="@menu/menu_nav" />
@@ -24,7 +24,7 @@
android:id="@+id/playback_layout"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/background"
android:background="?attr/colorSurface"
android:fitsSystemWindows="true">
<androidx.appcompat.widget.Toolbar