styles: refactor styles

Completely refactor styles once again to improve resource sharing and
styling maintainability.
This commit is contained in:
OxygenCobalt
2021-06-11 08:13:52 -06:00
parent 9d39a2aaeb
commit dc2157904a
35 changed files with 445 additions and 573 deletions
@@ -30,8 +30,7 @@
android:layout_marginStart="@dimen/spacing_medium"
android:layout_marginTop="@dimen/spacing_medium"
android:contentDescription="@{@string/description_album_cover(album.name)}"
android:elevation="@dimen/elevation_normal"
android:outlineProvider="bounds"
style="@style/ElevatedImageView"
app:albumArt="@{album}"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@@ -25,8 +25,7 @@
android:layout_height="@dimen/size_cover_detail"
android:layout_margin="@dimen/spacing_medium"
android:contentDescription="@{@string/description_artist_image(artist.name)}"
android:elevation="@dimen/elevation_normal"
android:outlineProvider="bounds"
style="@style/ElevatedImageView"
app:artistImage="@{artist}"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"
@@ -29,8 +29,7 @@
android:layout_height="@dimen/size_cover_detail"
android:layout_margin="@dimen/spacing_medium"
android:contentDescription="@{@string/description_genre_image(genre.name)}"
android:elevation="@dimen/elevation_normal"
android:outlineProvider="bounds"
style="@style/ElevatedImageView"
app:genreImage="@{genre}"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent"