OsmAnd/OsmAnd/res/layout/layers_list_activity_item.xml

38 lines
1.4 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="fill_parent"
2015-04-19 23:14:25 +02:00
android:layout_height="wrap_content"
2015-04-21 01:22:30 +02:00
android:descendantFocusability="blocksDescendants"
android:orientation="horizontal"
2015-04-20 02:04:35 +02:00
android:paddingLeft="@dimen/list_content_padding"
2015-04-21 01:22:30 +02:00
android:paddingRight="@dimen/list_content_padding" >
<ImageView
android:id="@+id/icon"
2015-04-21 01:33:37 +02:00
android:layout_width="wrap_content"
2015-04-21 01:22:30 +02:00
android:layout_height="@dimen/list_item_height"
android:scaleType="center"
2015-04-21 01:33:37 +02:00
android:visibility="gone"
android:layout_marginRight="@dimen/list_content_padding"
android:gravity="center_vertical"
2015-04-21 01:22:30 +02:00
android:src="@drawable/ic_action_settings" />
<TextView
android:id="@+id/title"
android:layout_width="0dp"
2015-04-20 02:04:35 +02:00
android:layout_height="fill_parent"
2015-04-19 16:34:51 +02:00
android:layout_gravity="center_vertical"
android:layout_weight="1"
2015-04-21 01:22:30 +02:00
android:gravity="center_vertical"
android:text="@string/layer_poi"
2015-04-19 16:34:51 +02:00
android:textSize="@dimen/default_list_text_size" />
2015-04-19 16:34:51 +02:00
<CheckBox
android:id="@+id/check_item"
android:layout_width="wrap_content"
2015-04-19 23:14:25 +02:00
android:layout_height="@dimen/list_item_height"
2015-04-19 16:34:51 +02:00
android:layout_gravity="center_vertical"
android:focusable="false"
android:gravity="center_vertical" />
</LinearLayout>