55 lines
2 KiB
XML
55 lines
2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
android:id="@+id/rootLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginStart="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginEnd="8dp"
|
|
android:layout_marginBottom="8dp"
|
|
android:clickable="true"
|
|
android:focusable="true"
|
|
android:background="@color/ribbonDefault"
|
|
android:padding="8dp">
|
|
|
|
<CheckBox
|
|
android:id="@+id/automation_enabled"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentStart="true"
|
|
android:layout_alignParentTop="true" />
|
|
|
|
<TextView
|
|
android:id="@+id/viewEventTitle"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignTop="@+id/automation_enabled"
|
|
android:layout_alignBottom="@+id/automation_enabled"
|
|
android:layout_centerVertical="true"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_toStartOf="@+id/iconSort"
|
|
android:layout_toEndOf="@id/automation_enabled"
|
|
android:text="Title"
|
|
android:textAlignment="viewStart"
|
|
android:textStyle="bold" />
|
|
|
|
<ImageView
|
|
android:id="@+id/iconSort"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_alignParentTop="true"
|
|
android:layout_alignParentEnd="true"
|
|
android:contentDescription="@string/reorder_label"
|
|
android:orientation="horizontal"
|
|
app:srcCompat="@drawable/ic_reorder_gray_24dp" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/iconLayout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_below="@id/automation_enabled"
|
|
android:orientation="horizontal" />
|
|
|
|
|
|
</RelativeLayout> |