OsmAnd/OsmAnd/res/layout/gpx_item_list_item.xml

61 lines
2.4 KiB
XML
Raw Normal View History

2014-06-08 21:01:46 +02:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
2015-03-07 12:37:31 +01: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:minHeight="@dimen/list_item_height"
android:orientation="vertical"
android:paddingLeft="@dimen/list_content_padding"
2015-03-07 16:10:58 +01:00
android:paddingTop="10dp"
2015-03-07 12:37:31 +01:00
android:paddingRight="@dimen/list_content_padding" >
2014-06-08 21:01:46 +02:00
2015-03-07 12:37:31 +01:00
<LinearLayout
android:layout_width="fill_parent"
android:layout_height="wrap_content" >
2014-06-08 21:01:46 +02:00
2015-03-07 12:37:31 +01:00
<FrameLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginRight="@dimen/favorites_icon_right_margin" >
2014-06-09 01:50:56 +02:00
2015-03-07 12:37:31 +01:00
<ImageView
android:id="@+id/icon"
2015-03-25 15:54:24 +01:00
android:layout_width="@dimen/standard_icon_size"
android:layout_height="@dimen/standard_icon_size"
2015-03-07 12:37:31 +01:00
android:layout_gravity="center_vertical" />
2014-06-09 01:50:56 +02:00
2015-03-07 12:37:31 +01:00
<TextView
android:id="@+id/additional"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:maxLines="2"
2015-11-13 16:40:11 +01:00
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_desc_text_size"
2015-03-07 12:37:31 +01:00
tools:text="@string/lorem_ipsum" />
</FrameLayout>
2014-06-08 21:01:46 +02:00
2015-03-07 12:37:31 +01:00
<TextView
android:id="@+id/name"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_list_text_size"
2015-03-07 12:37:31 +01:00
tools:text="@string/lorem_ipsum" />
</LinearLayout>
2014-06-08 21:01:46 +02:00
2015-03-07 12:37:31 +01:00
<TextView
android:id="@+id/description"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:gravity="center_vertical"
2015-03-07 13:18:26 +01:00
android:layout_marginTop="5dp"
2015-11-13 16:40:11 +01:00
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_desc_text_size"
tools:text="Hellow world"/>
2014-06-08 21:01:46 +02:00
</LinearLayout>