OsmAnd/OsmAnd/res/layout/local_index_list_item.xml

67 lines
2 KiB
XML
Raw Normal View History

2011-05-07 13:12:58 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-02-06 13:18:18 +01:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
2015-02-09 13:43:37 +01:00
android:layout_height="wrap_content"
android:minHeight="@dimen/list_item_height"
2015-02-06 13:18:18 +01:00
android:orientation="horizontal"
android:paddingBottom="4dp"
android:paddingLeft="@dimen/list_content_padding"
android:paddingRight="@dimen/list_content_padding"
2015-02-06 16:11:46 +01:00
android:background="?attr/expandable_list_item_background"
2015-02-06 13:18:18 +01:00
android:paddingTop="4dp">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:orientation="vertical">
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content">
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="fill_parent">
<CheckBox
android:id="@+id/check_local_index"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:focusable="false"
android:gravity="center_vertical"/>
</LinearLayout>
<TextView
android:id="@+id/local_index_name"
style="@style/ListText.Small"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
android:gravity="center_vertical"
android:maxLines="1"
tools:text="@string/lorem_ipsum"/>
<TextView
android:id="@+id/local_index_size"
style="@style/ListText.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="3dp"
android:gravity="right"/>
</LinearLayout>
<TextView
android:id="@+id/local_index_descr"
style="@style/ListText.Small"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
android:maxLines="25"
tools:text="@string/lorem_ipsum"/>
</LinearLayout>
2013-07-12 02:40:43 +02:00
</LinearLayout>