Rounded library covers

This commit is contained in:
arkon 2020-04-12 22:29:15 -04:00
parent 9058536406
commit e67bb64311
2 changed files with 6 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 755 B

View File

@ -4,13 +4,14 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="wrap_content" android:layout_height="wrap_content"
android:background="?selectable_library_drawable"> android:background="?selectable_library_drawable"
android:padding="4dp">
<FrameLayout <androidx.cardview.widget.CardView
android:id="@+id/card" android:id="@+id/card"
android:layout_width="wrap_content" android:layout_width="wrap_content"
android:layout_height="220dp" android:layout_height="220dp"
android:background="@drawable/card_background"> app:cardCornerRadius="4dp">
<ImageView <ImageView
android:id="@+id/thumbnail" android:id="@+id/thumbnail"
@ -87,6 +88,7 @@
app:layout_constraintStart_toStartOf="parent" app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" /> tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout> </androidx.constraintlayout.widget.ConstraintLayout>
<TextView <TextView
@ -114,6 +116,6 @@
android:layout_gravity="center" android:layout_gravity="center"
android:visibility="gone" /> android:visibility="gone" />
</FrameLayout> </androidx.cardview.widget.CardView>
</FrameLayout> </FrameLayout>