79 lines
2.6 KiB
XML
79 lines
2.6 KiB
XML
|
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:orientation="horizontal"
|
||
|
|
android:gravity="center_vertical"
|
||
|
|
android:background="?attr/selectableItemBackground"
|
||
|
|
android:paddingStart="20dp"
|
||
|
|
android:paddingEnd="12dp"
|
||
|
|
android:paddingTop="11dp"
|
||
|
|
android:paddingBottom="11dp">
|
||
|
|
|
||
|
|
<FrameLayout
|
||
|
|
android:id="@+id/checkWrap"
|
||
|
|
android:layout_width="30dp"
|
||
|
|
android:layout_height="30dp">
|
||
|
|
|
||
|
|
<View
|
||
|
|
android:id="@+id/checkCircle"
|
||
|
|
android:layout_width="21dp"
|
||
|
|
android:layout_height="21dp"
|
||
|
|
android:layout_gravity="center" />
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/checkMark"
|
||
|
|
android:layout_width="13dp"
|
||
|
|
android:layout_height="13dp"
|
||
|
|
android:layout_gravity="center"
|
||
|
|
android:src="@drawable/ic_check"
|
||
|
|
android:visibility="invisible" />
|
||
|
|
</FrameLayout>
|
||
|
|
|
||
|
|
<LinearLayout
|
||
|
|
android:layout_width="0dp"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_weight="1"
|
||
|
|
android:layout_marginStart="10dp"
|
||
|
|
android:orientation="vertical">
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvTitle"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:textSize="15sp"
|
||
|
|
android:textColor="@color/text"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:ellipsize="end" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvMeta"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="3dp"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:ellipsize="end"
|
||
|
|
style="@style/T.Caption" />
|
||
|
|
|
||
|
|
<TextView
|
||
|
|
android:id="@+id/tvNote"
|
||
|
|
android:layout_width="match_parent"
|
||
|
|
android:layout_height="wrap_content"
|
||
|
|
android:layout_marginTop="3dp"
|
||
|
|
android:maxLines="2"
|
||
|
|
android:ellipsize="end"
|
||
|
|
android:textColor="@color/text_secondary"
|
||
|
|
android:textSize="12sp"
|
||
|
|
android:visibility="gone" />
|
||
|
|
</LinearLayout>
|
||
|
|
|
||
|
|
<ImageView
|
||
|
|
android:id="@+id/btnPlay"
|
||
|
|
android:layout_width="34dp"
|
||
|
|
android:layout_height="34dp"
|
||
|
|
android:padding="8dp"
|
||
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
||
|
|
android:src="@drawable/ic_play"
|
||
|
|
android:contentDescription="@string/start" />
|
||
|
|
</LinearLayout>
|