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
+3 -2
View File
@@ -12,12 +12,13 @@
android:id="@+id/detail_appbar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:background="?attr/colorSurface"
app:liftOnScroll="true">
<com.google.android.material.appbar.MaterialToolbar
<androidx.appcompat.widget.Toolbar
android:id="@+id/detail_toolbar"
style="@style/Toolbar.Style.Icon"
android:background="?android:attr/windowBackground"
android:background="?attr/colorSurface"
android:elevation="@dimen/elevation_normal" />
</com.google.android.material.appbar.AppBarLayout>