image: allow non-square album covers

Make the app UI properly handle album covers that are not 1:1, instead
of just cropping them.

This required switching to Coil's rounded corners transformation
outright so that the non-1:1 image can sit inside the CoverView in a
way that actually looks good

I'm pretty confident this will work, but there might be some edge cases
since coil's transformation is really finicky.

Resolves #355.
This commit is contained in:
Alexander Capehart
2023-05-28 19:05:42 -06:00
parent 770ae77eed
commit 47b791b95f
9 changed files with 169 additions and 79 deletions
+1 -1
View File
@@ -25,7 +25,7 @@
android:id="@+id/disc_icon"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:src="@drawable/ic_add_24"
android:src="@drawable/ic_album_24"
android:scaleType="center"
app:tint="@color/sel_on_cover_bg"
tools:ignore="ContentDescription" />