OsmAnd/OsmAnd/res/layout/local_index_list_item.xml

73 lines
2.8 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-10-21 15:10:40 +02:00
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:background="?attr/expandable_list_item_background"
android:descendantFocusability="blocksDescendants"
android:minHeight="@dimen/list_item_height"
android:orientation="horizontal"
android:paddingLeft="@dimen/list_content_padding">
2015-02-06 13:18:18 +01:00
2015-10-21 15:10:40 +02:00
<CheckBox
android:id="@+id/check_local_index"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/local_index_check_right_margin"
android:layout_marginTop="@dimen/favorites_icon_top_margin"
android:focusable="false"
android:visibility="gone"/>
2015-02-16 13:43:44 +01:00
2015-10-21 15:10:40 +02:00
<ImageView
android:id="@+id/icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="@dimen/favorites_icon_right_margin"
android:layout_marginTop="@dimen/favorites_icon_top_margin"
android:focusable="false"
android:src="@drawable/ic_gpx_track"/>
2015-02-16 11:32:15 +01:00
2015-10-21 15:10:40 +02:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:orientation="vertical">
2015-02-06 13:18:18 +01:00
2015-10-21 15:10:40 +02:00
<TextView
android:id="@+id/nameTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
tools:text="Bangladesh"/>
2015-02-06 13:18:18 +01:00
2015-10-21 15:10:40 +02:00
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:orientation="horizontal">
2015-02-06 13:18:18 +01:00
2015-10-21 15:10:40 +02:00
<TextView
android:id="@+id/descriptionTextView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginRight="7dp"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_sub_text_size"
tools:text="12.34 Mb * 10/4/2015"/>
2015-02-06 13:18:18 +01:00
2015-10-21 15:10:40 +02:00
</LinearLayout>
2015-02-06 13:18:18 +01:00
2015-10-21 15:10:40 +02:00
</LinearLayout>
2015-02-06 13:18:18 +01:00
2015-10-21 15:10:40 +02:00
<ImageButton
android:id="@+id/options"
android:contentDescription="@string/shared_string_more"
2015-10-21 15:10:40 +02:00
android:layout_width="@dimen/list_item_height"
android:layout_height="@dimen/list_item_height"
android:background="?attr/dashboard_button"
android:focusable="false"
android:src="@drawable/ic_overflow_menu_white"/>
2013-07-12 02:40:43 +02:00
</LinearLayout>