50 lines
1.7 KiB
XML
50 lines
1.7 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:background="?android:attr/activatedBackgroundIndicator"
|
|
android:minHeight="60dp">
|
|
|
|
|
|
<CheckBox
|
|
android:id="@+id/item_checkbox"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:clickable="false"
|
|
android:focusable="false" />
|
|
|
|
<View
|
|
android:id="@+id/calendar_color"
|
|
android:layout_width="48dp"
|
|
android:layout_height="48dp"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginStart="16dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_toEndOf="@+id/item_checkbox"
|
|
android:paddingBottom="8dp"
|
|
android:paddingTop="8dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="fill_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_centerVertical="true"
|
|
android:layout_toEndOf="@+id/calendar_color"
|
|
android:orientation="vertical"
|
|
android:padding="8dp">
|
|
|
|
<TextView
|
|
android:id="@+id/calendar_name"
|
|
android:textAppearance="@style/TextAppearance.AppCompat.Subhead"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:scrollHorizontally="false"
|
|
android:maxLines="1"
|
|
android:text="Item Name" />
|
|
|
|
</LinearLayout>
|
|
|
|
</RelativeLayout> |