OsmAnd/OsmAnd/res/layout/waypoint_reached.xml

115 lines
4.1 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="horizontal"
android:layout_width="fill_parent"
2016-01-08 18:55:33 +01:00
android:layout_height="wrap_content"
android:background="@drawable/view_transparent_selection"
android:id="@+id/package_delivered_layout"
2016-01-08 18:55:33 +01:00
android:minHeight="50dp"
android:descendantFocusability="blocksDescendants">
<ImageView
android:id="@+id/waypoint_icon"
2015-03-29 00:19:45 +01:00
android:src="@drawable/ic_action_fav_dark"
android:layout_height="25dp"
2016-01-08 18:55:33 +01:00
android:layout_width="56dp"
android:layout_gravity="center_vertical" />
2016-01-08 18:55:33 +01:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_weight="1"
2016-01-08 18:55:33 +01:00
android:gravity="center"
android:layout_gravity="center_vertical"
android:orientation="vertical">
<TextView
android:id="@+id/waypoint_text"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:maxLines="2"
android:ellipsize="end"
android:layout_gravity="center_vertical"
android:textSize="@dimen/default_list_text_size" />
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="2dp"
android:orientation="horizontal">
<TextView
android:id="@+id/waypoint_dist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:textColor="@color/color_myloc_distance"
android:maxLines="1"
android:textSize="@dimen/default_sub_text_size"/>
<TextView
android:id="@+id/waypoint_deviation"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:textColor="@color/secondary_text_dark"
android:layout_marginLeft="6dp"
android:drawablePadding="2dp"
android:maxLines="1"
android:textSize="@dimen/default_sub_text_size"/>
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:maxLines="1"
android:ellipsize="end"
android:layout_gravity="bottom"
android:layout_weight="1"
android:textColor="@color/secondary_text_dark"
android:textSize="@dimen/default_sub_text_size" />
</LinearLayout>
</LinearLayout>
<ImageButton
android:id="@+id/all_points"
2016-01-08 18:55:33 +01:00
android:layout_width="48dp"
android:layout_height="48dp"
2015-03-08 18:05:19 +01:00
android:contentDescription="@string/shared_string_more"
android:layout_gravity="center_vertical"
2016-01-08 18:55:33 +01:00
android:layout_marginRight="2dp"
android:visibility="gone"
android:focusable="false"
2016-01-08 18:55:33 +01:00
android:scaleType="center"
2014-12-29 16:52:20 +01:00
style="@style/Widget.AppCompat.ActionButton"
2016-01-08 18:55:33 +01:00
android:src="@drawable/map_overflow_menu_white" />
<ImageButton
android:id="@+id/info_close"
2016-01-08 18:55:33 +01:00
android:layout_width="48dp"
android:layout_height="48dp"
2015-03-08 14:57:01 +01:00
android:contentDescription="@string/shared_string_close"
android:layout_gravity="center_vertical"
2016-01-08 18:55:33 +01:00
android:layout_marginRight="2dp"
2014-12-29 16:52:20 +01:00
style="@style/Widget.AppCompat.ActionButton"
android:focusable="false"
2016-01-08 18:55:33 +01:00
android:scaleType="center"
android:src="@drawable/ic_action_remove_dark" />
2016-01-08 18:55:33 +01:00
<ImageView
android:id="@+id/info_move"
android:layout_width="48dp"
android:layout_height="48dp"
android:layout_gravity="center_vertical"
android:layout_marginRight="2dp"
android:focusable="false"
android:clickable="false"
android:scaleType="center"
android:src="@drawable/ic_flat_list_dark"
android:visibility="gone"/>
</LinearLayout>