OsmAnd/OsmAnd/res/layout/list_menu_item_native.xml

50 lines
1.8 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
2015-09-11 15:35:11 +02:00
<LinearLayout
android:id="@+id/LinearLayout1"
2015-09-11 15:35:11 +02:00
xmlns:android="http://schemas.android.com/apk/res/android"
2015-11-09 16:49:31 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2015-09-11 15:35:11 +02:00
android:orientation="horizontal">
2016-03-30 10:00:09 +02:00
<android.support.v7.widget.AppCompatImageView
2014-03-18 01:56:39 +01:00
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2015-09-11 15:35:11 +02:00
android:layout_gravity="center_vertical"
android:layout_marginLeft="24dp"
2014-03-18 01:56:39 +01:00
android:gravity="center"
2015-11-09 16:49:31 +01:00
android:visibility="gone"
tools:visibility="visible"/>
2016-03-30 10:00:09 +02:00
<android.support.v7.widget.AppCompatTextView
android:id="@+id/title"
android:layout_width="0dp"
android:layout_height="wrap_content"
2014-12-11 11:19:12 +01:00
android:layout_marginBottom="11dip"
2015-09-11 15:35:11 +02:00
android:layout_marginLeft="12dp"
android:layout_marginTop="11dp"
android:layout_weight="1"
android:gravity="center_vertical"
android:text="@string/layer_poi"
2015-09-11 15:35:11 +02:00
android:textSize="@dimen/default_list_text_size"/>
2016-03-30 10:00:09 +02:00
<android.support.v7.widget.AppCompatImageView
2015-11-09 16:49:31 +01:00
android:id="@+id/icon_settings"
android:contentDescription="@string/shared_string_settings"
android:layout_width="wrap_content"
2015-11-09 16:49:31 +01:00
android:layout_height="match_parent"
android:focusable="false"
android:gravity="center_vertical"
android:visibility="gone"
tools:visibility="visible"/>
2015-11-09 16:49:31 +01:00
<!-- android:button="@drawable/ic_btn_wocheckbox" -->
<CheckBox
2016-03-21 15:55:09 +01:00
android:id="@+id/toggle_item"
2015-11-09 16:49:31 +01:00
android:layout_width="wrap_content"
android:layout_height="match_parent"
android:layout_marginRight="24dp"
android:focusable="false"/>
</LinearLayout>