51 lines
1.9 KiB
XML
51 lines
1.9 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<layout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto">
|
|
|
|
<RelativeLayout
|
|
android:id="@+id/row"
|
|
android:background="?selectableItemBackground"
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="16dp"
|
|
android:minHeight="?android:attr/listPreferredItemHeightSmall">
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toLeftOf="@+id/checkbox"
|
|
android:layout_toStartOf="@+id/checkbox"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/label"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:paddingLeft="13dp"
|
|
android:scrollHorizontally="false"
|
|
android:textAppearance="@style/TextAppearance.Conversations.Subhead" />
|
|
|
|
<TextView
|
|
android:id="@+id/desc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:textIsSelectable="true"
|
|
android:paddingLeft="16dp"
|
|
android:textAppearance="@style/TextAppearance.Conversations.Status"
|
|
android:textColor="?android:textColorSecondary" />
|
|
|
|
</LinearLayout>
|
|
|
|
<CheckBox
|
|
android:id="@+id/checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentRight="true"
|
|
android:layout_centerVertical="true"
|
|
android:paddingRight="16dp"
|
|
android:layout_marginLeft="16dp" />
|
|
|
|
</RelativeLayout>
|
|
</layout>
|