2020-11-20 15:38:08 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2020-11-26 16:05:58 +01:00
|
|
|
xmlns:card_view="http://schemas.android.com/apk/res-auto"
|
2020-12-05 21:31:12 +01:00
|
|
|
android:layout_width="180dp"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:orientation="vertical"
|
|
|
|
|
android:paddingEnd="8dp">
|
|
|
|
|
|
2020-11-26 16:05:58 +01:00
|
|
|
<androidx.cardview.widget.CardView
|
2020-11-20 15:38:08 +01:00
|
|
|
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-20 15:38:08 +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_cover_image_view"
|
|
|
|
|
android:layout_width="172dp"
|
|
|
|
|
android:layout_height="172dp" />
|
|
|
|
|
</androidx.cardview.widget.CardView>
|
2020-11-20 15:38:08 +01:00
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/artist_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-20 15:38:08 +01:00
|
|
|
android:fontFamily="@font/open_sans_font_family"
|
2020-11-21 18:41:35 +01:00
|
|
|
android:maxWidth="172dp"
|
2020-11-26 16:05:58 +01:00
|
|
|
android:maxLines="1"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:paddingStart="2dp"
|
|
|
|
|
android:paddingTop="8dp"
|
2020-11-21 18:41:35 +01:00
|
|
|
android:singleLine="false"
|
2020-11-20 15:38:08 +01:00
|
|
|
android:textColor="@color/titleTextColor"
|
|
|
|
|
android:textSize="14sp"
|
|
|
|
|
android:textStyle="bold" />
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|