2020-11-22 19:11:38 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
|
|
|
|
<androidx.cardview.widget.CardView xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
|
|
|
|
android:id="@+id/card_view"
|
2020-11-26 16:05:58 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:layout_gravity="center"
|
|
|
|
|
android:backgroundTint="@color/cardColor"
|
|
|
|
|
card_view:cardCornerRadius="4dp"
|
|
|
|
|
card_view:cardElevation="2dp"
|
|
|
|
|
card_view:cardPreventCornerOverlap="false"
|
2020-12-01 20:04:54 +01:00
|
|
|
card_view:cardUseCompatPadding="true"
|
|
|
|
|
android:foreground="?attr/selectableItemBackground">
|
2020-11-26 16:05:58 +01:00
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
|
android:id="@+id/artist_page_album_cover_image_view"
|
|
|
|
|
android:layout_width="256dp"
|
|
|
|
|
android:layout_height="256dp" />
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
2020-11-22 19:11:38 +01:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/album_name_label"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2020-11-26 16:05:58 +01:00
|
|
|
android:ellipsize="end"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
2020-11-30 20:54:05 +01:00
|
|
|
android:maxWidth="256dp"
|
2020-11-26 16:05:58 +01:00
|
|
|
android:maxLines="2"
|
2020-11-22 19:11:38 +01:00
|
|
|
android:paddingStart="2dp"
|
|
|
|
|
android:paddingTop="8dp"
|
|
|
|
|
android:singleLine="false"
|
|
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="16sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
</LinearLayout>
|