2018-11-20 15:27:59 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2020-01-06 05:34:09 +00:00
|
|
|
android:background="?attr/rectSelector"
|
2018-11-20 15:27:59 +00:00
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<com.google.android.material.card.MaterialCardView
|
|
|
|
android:layout_width="112dp"
|
|
|
|
android:layout_height="156dp"
|
2020-01-28 17:00:28 +00:00
|
|
|
android:layout_margin="4dp"
|
2018-11-20 15:27:59 +00:00
|
|
|
app:cardCornerRadius="8dp"
|
2020-01-28 17:00:28 +00:00
|
|
|
app:cardElevation="4dp">
|
2018-11-20 15:27:59 +00:00
|
|
|
|
|
|
|
<androidx.appcompat.widget.AppCompatImageView
|
|
|
|
android:id="@+id/image"
|
2020-05-11 10:27:12 +00:00
|
|
|
app:srcCompat="@drawable/default_album_art"
|
2018-11-20 15:27:59 +00:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
2019-10-26 14:14:09 +00:00
|
|
|
android:scaleType="centerCrop"
|
|
|
|
tools:src="@tools:sample/avatars" />
|
2018-11-20 15:27:59 +00:00
|
|
|
</com.google.android.material.card.MaterialCardView>
|
|
|
|
|
2019-09-28 17:52:49 +00:00
|
|
|
|
|
|
|
<com.google.android.material.textview.MaterialTextView
|
2018-11-20 15:27:59 +00:00
|
|
|
android:id="@+id/title"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:ellipsize="end"
|
2019-12-26 15:25:41 +00:00
|
|
|
android:maxLines="2"
|
2020-01-03 12:40:42 +00:00
|
|
|
android:paddingStart="12dp"
|
2020-01-06 05:34:09 +00:00
|
|
|
android:paddingEnd="8dp"
|
|
|
|
android:paddingBottom="4dp"
|
2019-09-02 14:51:53 +00:00
|
|
|
android:textAppearance="@style/TextViewNormal"
|
2020-01-06 03:12:32 +00:00
|
|
|
android:textColor="?android:attr/textColorPrimary"
|
2020-01-06 05:34:09 +00:00
|
|
|
tools:ignore="MissingPrefix"
|
2020-01-03 12:40:42 +00:00
|
|
|
tools:text="@tools:sample/full_names" />
|
2018-11-20 15:27:59 +00:00
|
|
|
</LinearLayout>
|