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
+1 -2
View File
@@ -26,7 +26,6 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:animateLayoutChanges="true"
android:background="?android:attr/windowBackground"
android:elevation="@dimen/elevation_normal"
android:orientation="vertical"
app:layout_constraintBottom_toBottomOf="parent">
@@ -43,7 +42,7 @@
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:background="@color/background"
android:background="?attr/colorSurface"
android:elevation="0dp"
app:elevation="0dp"
app:menu="@menu/menu_nav" />