ui: fix material issues

Migrate dividers over to material theming alongside making detail items
use a colorStateList instead of manually indexing for text colors.
This commit is contained in:
OxygenCobalt
2021-09-04 19:31:28 -06:00
parent 23e3c0241d
commit 34367b3bae
28 changed files with 41 additions and 62 deletions
+2 -1
View File
@@ -24,7 +24,7 @@
android:text="@{String.valueOf(song.track)}"
android:textAlignment="center"
android:textAppearance="?android:attr/textAppearanceListItem"
android:textColor="?android:attr/textColorTertiary"
android:textColor="@color/sel_accented_track"
android:textSize="@dimen/text_size_large"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintStart_toStartOf="parent"
@@ -35,6 +35,7 @@
android:id="@+id/song_name"
style="@style/Widget.TextView.Item.Primary"
android:text="@{song.name}"
android:textColor="@color/sel_accented_primary"
app:layout_constraintBottom_toTopOf="@+id/song_duration"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toEndOf="@+id/song_track"