2020-10-03 11:58:34 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2020-10-04 22:29:50 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
2021-03-29 17:58:54 +02:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:clickable="true"
|
|
|
|
android:focusable="true"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:minHeight="?android:attr/listPreferredItemHeightSmall"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="72dp"
|
|
|
|
android:paddingEnd="?android:attr/listPreferredItemPaddingEnd">
|
2020-10-03 11:58:34 +02:00
|
|
|
|
2020-10-04 22:29:50 +02:00
|
|
|
<LinearLayout
|
2021-03-29 17:58:54 +02:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginTop="16dp"
|
|
|
|
android:layout_marginBottom="16dp"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
2020-10-04 22:29:50 +02:00
|
|
|
|
|
|
|
<TextView
|
2021-03-29 17:58:54 +02:00
|
|
|
android:id="@+id/text_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:ellipsize="marquee"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceListItem"
|
|
|
|
tools:text="Title" />
|
2020-10-04 22:29:50 +02:00
|
|
|
|
|
|
|
<TextView
|
2022-08-25 15:02:15 +02:00
|
|
|
android:id="@+id/text_author"
|
2021-03-29 17:58:54 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="10"
|
|
|
|
android:textAppearance="?android:attr/textAppearanceListItemSecondary"
|
|
|
|
android:textColor="?android:attr/textColorSecondary"
|
|
|
|
tools:text="Summary" />
|
2020-10-04 22:29:50 +02:00
|
|
|
</LinearLayout>
|
2020-10-03 11:58:34 +02:00
|
|
|
|
|
|
|
<com.google.android.material.checkbox.MaterialCheckBox
|
2021-03-29 17:58:54 +02:00
|
|
|
android:id="@+id/checkbox"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clickable="false"
|
|
|
|
android:gravity="end|center_vertical"
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
android:paddingEnd="0dp" />
|
2020-10-04 22:29:50 +02:00
|
|
|
</LinearLayout>
|