Use ShapeableImageView for rounded thumbnails instead of Coil transformations
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
android:layout_marginBottom="12dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
android:id="@+id/track_search_cover"
|
||||
android:layout_width="68dp"
|
||||
android:layout_height="95dp"
|
||||
@@ -26,6 +26,7 @@
|
||||
android:scaleType="centerCrop"
|
||||
app:layout_constraintStart_toStartOf="parent"
|
||||
app:layout_constraintTop_toTopOf="parent"
|
||||
app:shapeAppearance="@style/ShapeAppearanceOverlay.Cover"
|
||||
tools:src="@mipmap/ic_launcher" />
|
||||
|
||||
<TextView
|
||||
|
||||
Reference in New Issue
Block a user