40 lines
No EOL
1.4 KiB
XML
40 lines
No EOL
1.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:minHeight="48dp"
|
|
android:orientation="horizontal"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp">
|
|
|
|
<android.support.v7.widget.AppCompatImageView
|
|
android:id="@+id/icon"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_gravity="center_vertical"
|
|
tools:src="@drawable/ic_action_gabout_dark" />
|
|
|
|
<TextView
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
android:layout_weight="1"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="8dp"
|
|
android:layout_marginTop="8dp"
|
|
android:layout_marginLeft="11dp"
|
|
tools:text="Some title text" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/toggle_item"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="@dimen/list_item_height"
|
|
android:layout_marginLeft="11dp"
|
|
android:focusable="false"
|
|
android:layout_gravity="center_vertical" />
|
|
|
|
</LinearLayout> |