OsmAnd/OsmAnd/res/layout/drawer_list_item.xml

40 lines
1.4 KiB
XML
Raw Normal View History

2014-10-21 19:47:47 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2014-10-24 17:23:32 +02:00
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">
<ImageView
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"
2015-04-01 16:15:08 +02:00
tools:src="@drawable/ic_action_gabout_dark" />
2014-10-24 17:23:32 +02:00
2014-10-26 00:03:34 +02:00
<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" />
2014-10-24 17:23:32 +02:00
<CheckBox
2016-03-21 15:55:09 +01:00
android:id="@+id/toggle_item"
android:layout_width="wrap_content"
android:layout_height="@dimen/list_item_height"
2014-10-24 17:23:32 +02:00
android:layout_marginLeft="11dp"
android:focusable="false"
android:layout_gravity="center_vertical" />
2014-10-21 19:47:47 +02:00
</LinearLayout>