2014-07-28 12:22:53 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-01-25 11:01:35 +01:00
|
|
|
<LinearLayout
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/package_delivered_layout"
|
|
|
|
android:layout_width="match_parent"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:layout_height="wrap_content"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:background="@drawable/view_transparent_selection"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:descendantFocusability="blocksDescendants"
|
|
|
|
android:minHeight="50dp">
|
2014-11-17 16:25:17 +01:00
|
|
|
|
2018-01-25 12:22:55 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/info_move"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="48dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginEnd="2dp"
|
|
|
|
android:layout_marginRight="2dp"
|
|
|
|
android:clickable="false"
|
|
|
|
android:contentDescription="@string/shared_string_more"
|
|
|
|
android:focusable="false"
|
|
|
|
android:paddingLeft="12dp"
|
|
|
|
android:paddingStart="12dp"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:src="@drawable/ic_flat_list_dark"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
2014-11-17 16:25:17 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/waypoint_icon"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:layout_width="56dp"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:layout_height="25dp"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:src="@drawable/ic_action_fav_dark"/>
|
2014-11-17 16:25:17 +01:00
|
|
|
|
2016-01-08 18:55:33 +01:00
|
|
|
<LinearLayout
|
2014-11-17 16:25:17 +01:00
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:layout_weight="1"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:gravity="center"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/waypoint_text"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_vertical"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="2"
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
tools:text="Some waypoint text"/>
|
2016-01-08 18:55:33 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:layout_marginTop="2dp">
|
2016-01-08 18:55:33 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/waypoint_dist"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:maxLines="1"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:textColor="@color/color_myloc_distance"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
|
|
tools:text="12 km"/>
|
2016-01-08 18:55:33 +01:00
|
|
|
|
2016-01-23 10:27:53 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/waypoint_deviation"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginLeft="6dp"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:layout_marginStart="6dp"
|
2016-01-23 10:27:53 +01:00
|
|
|
android:drawablePadding="2dp"
|
|
|
|
android:maxLines="1"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:textColor="@color/secondary_text_dark"
|
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
|
|
tools:text="Intermediate point "/>
|
2016-01-23 10:27:53 +01:00
|
|
|
|
2016-01-08 18:55:33 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/waypoint_desc_text"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_weight="1"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:ellipsize="end"
|
|
|
|
android:maxLines="1"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:textColor="@color/secondary_text_dark"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:textSize="@dimen/default_sub_text_size"
|
|
|
|
tools:text="some description"/>
|
2016-01-08 18:55:33 +01:00
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-11-17 16:25:17 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/all_points"
|
2018-01-25 11:01:35 +01:00
|
|
|
style="@style/Widget.AppCompat.ActionButton"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:layout_marginEnd="2dp"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:layout_marginRight="2dp"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:contentDescription="@string/shared_string_more"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:focusable="false"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:scaleType="center"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:src="@drawable/map_overflow_menu_white"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:visibility="visible"/>
|
2014-11-17 16:25:17 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/info_close"
|
2018-01-25 11:01:35 +01:00
|
|
|
style="@style/Widget.AppCompat.ActionButton"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:layout_width="48dp"
|
|
|
|
android:layout_height="48dp"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:layout_gravity="center_vertical"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:layout_marginEnd="2dp"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:layout_marginRight="2dp"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:contentDescription="@string/shared_string_delete"
|
2014-11-17 16:25:17 +01:00
|
|
|
android:focusable="false"
|
2016-01-08 18:55:33 +01:00
|
|
|
android:scaleType="center"
|
2018-01-25 11:01:35 +01:00
|
|
|
android:src="@drawable/ic_action_remove_dark"/>
|
2014-07-28 12:22:53 +02:00
|
|
|
|
2018-01-25 11:01:35 +01:00
|
|
|
</LinearLayout>
|