2010-05-31 15:59:13 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2015-04-07 00:34:11 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
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="horizontal"
|
|
|
|
android:paddingLeft="@dimen/list_content_padding"
|
2015-04-07 23:05:52 +02:00
|
|
|
android:paddingRight="@dimen/list_content_padding"
|
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
|
>
|
2015-04-07 00:34:11 +02:00
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/poi_icon"
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="@dimen/standard_icon_size"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginRight="@dimen/favorites_icon_right_margin"
|
|
|
|
tools:visiblity="visible" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
2015-04-07 00:47:02 +02:00
|
|
|
android:layout_height="wrap_content"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:orientation="vertical"
|
2015-04-07 00:47:02 +02:00
|
|
|
android:layout_gravity="bottom"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:paddingRight="3dp" >
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/poi_label"
|
2015-04-17 00:37:39 +02:00
|
|
|
android:textSize="@dimen/default_list_text_size"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2015-04-07 00:47:02 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:gravity="center_vertical"
|
2015-04-07 00:47:02 +02:00
|
|
|
android:maxLines="2"
|
2015-04-07 00:34:11 +02:00
|
|
|
tools:text="@string/lorem_ipsum" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="fill_parent"
|
2015-04-07 00:47:02 +02:00
|
|
|
android:layout_gravity="bottom"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:layout_height="wrap_content"
|
2015-04-07 00:47:02 +02:00
|
|
|
android:layout_marginTop="4dp"
|
|
|
|
android:layout_marginBottom="4dp"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:orientation="horizontal" >
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/poi_direction"
|
2016-08-03 11:10:29 +02:00
|
|
|
android:layout_width="@dimen/directionIconSize"
|
|
|
|
android:layout_height="@dimen/directionIconSize"
|
|
|
|
android:layout_marginTop="1sp"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:layout_gravity="center_vertical"
|
2016-08-03 11:10:29 +02:00
|
|
|
android:src="@drawable/ic_direction_arrow"
|
2015-04-07 00:34:11 +02:00
|
|
|
tools:visiblity="visible" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/distance"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2015-04-17 00:37:39 +02:00
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
2015-04-07 00:34:11 +02:00
|
|
|
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
|
|
|
tools:text="300 km" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/time_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginRight="@dimen/gpx_small_icon_margin"
|
|
|
|
android:src="@drawable/ic_small_time" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/time"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2015-09-10 00:30:31 +02:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:lines="1"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:scrollHorizontally="true"
|
|
|
|
|
2015-04-07 00:34:11 +02:00
|
|
|
android:layout_marginRight="@dimen/gpx_small_text_margin"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2015-04-17 00:37:39 +02:00
|
|
|
android:textSize="@dimen/default_sub_text_size" />
|
2015-04-07 00:34:11 +02:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
2014-11-17 16:25:17 +01:00
|
|
|
|
2010-05-31 15:59:13 +02:00
|
|
|
</LinearLayout>
|