OsmAnd/OsmAnd/res/layout/map_hud_top.xml

663 lines
30 KiB
XML
Raw Normal View History

2015-03-11 20:19:24 +01:00
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent"
2017-08-11 17:08:45 +02:00
xmlns:osmand="http://schemas.android.com/apk/res-auto"
android:orientation="vertical">
2015-03-11 20:19:24 +01:00
<!-- TOP ROW -->
2015-03-15 16:19:19 +01:00
<FrameLayout
2017-10-02 14:24:58 +02:00
android:id="@+id/map_top_bar"
2015-03-15 13:52:07 +01:00
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2017-10-02 14:24:58 +02:00
android:background="@drawable/btn_flat"
android:minHeight="@dimen/map_address_height">
2015-03-15 13:52:07 +01:00
2017-10-02 14:24:58 +02:00
<!-- android:layout_weight="1" to show properly next turn -->
<FrameLayout
android:layout_width="wrap_content"
2015-03-15 13:52:07 +01:00
android:layout_height="wrap_content"
android:layout_gravity="center"
2017-10-02 14:24:58 +02:00
android:layout_marginLeft="5dp"
android:layout_marginRight="5dp">
<TextView
2017-10-02 14:24:58 +02:00
android:id="@+id/map_address_text_shadow"
android:importantForAccessibility="no"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-10-02 14:24:58 +02:00
android:layout_gravity="center"
android:ellipsize="end"
android:maxLines="1"
android:singleLine="true"
android:textColor="@color/color_black"
android:textSize="@dimen/map_widget_text_size"
tools:text="Long Street Name">
</TextView>
<TextView
2017-10-02 14:24:58 +02:00
android:id="@+id/map_address_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-10-02 14:24:58 +02:00
android:layout_gravity="center"
android:ellipsize="end"
android:maxLines="1"
2017-10-02 14:24:58 +02:00
android:singleLine="true"
android:textColor="@color/color_black"
android:textSize="@dimen/map_widget_text_size"
tools:text="Long Street Name">
</TextView>
</FrameLayout>
2017-10-02 14:24:58 +02:00
<LinearLayout
android:id="@+id/waypoint_info_bar"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
2017-10-02 14:24:58 +02:00
android:orientation="horizontal"
android:visibility="gone">
2017-10-02 14:24:58 +02:00
<ImageView
android:id="@+id/waypoint_icon"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
2017-10-02 14:24:58 +02:00
android:layout_gravity="center_vertical"
android:layout_marginLeft="@dimen/map_button_margin"
android:layout_marginRight="@dimen/map_button_margin"
tools:src="@drawable/ic_action_test_light"/>
2015-03-15 13:52:07 +01:00
2017-10-02 14:24:58 +02:00
<LinearLayout
android:layout_width="wrap_content"
2015-04-15 09:21:22 +02:00
android:layout_height="wrap_content"
2017-10-02 14:24:58 +02:00
android:layout_gravity="center"
android:orientation="vertical">
<TextView
android:id="@+id/waypoint_dist"
android:layout_width="64dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="2dp"
android:maxLines="2"
android:textColor="@color/osmand_orange"
android:textSize="@dimen/default_list_text_size"
android:textStyle="bold"/>
<TextView
android:id="@+id/waypoint_deviation"
android:layout_width="64dp"
android:layout_height="wrap_content"
android:layout_gravity="bottom"
android:layout_marginLeft="2dp"
android:drawablePadding="2dp"
android:maxLines="1"
android:textColor="@color/osmand_orange"
android:textSize="@dimen/default_list_text_size"
android:textStyle="bold"
android:visibility="gone"/>
</LinearLayout>
<FrameLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_marginLeft="4dp"
android:layout_weight="1">
<TextView
android:id="@+id/waypoint_text_shadow"
android:importantForAccessibility="no"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="2"
android:textColor="@color/color_black"
android:textSize="@dimen/map_button_text_size"
tools:text="Waypoint"/>
<TextView
android:id="@+id/waypoint_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="2"
android:textColor="@color/color_black"
android:textSize="@dimen/map_button_text_size"
tools:text="Waypoint"/>
</FrameLayout>
<ImageButton
android:id="@+id/waypoint_more"
android:contentDescription="@string/shared_string_more"
android:layout_width="@dimen/map_address_height"
android:layout_height="@dimen/map_address_height"
android:background="@drawable/btn_circle_transparent"
tools:src="@drawable/ic_action_test_light"/>
<ImageButton
android:id="@+id/waypoint_close"
android:contentDescription="@string/shared_string_close"
android:layout_width="@dimen/map_address_height"
android:layout_height="@dimen/map_address_height"
android:background="@drawable/bottom_shadow"
tools:src="@drawable/ic_action_test_light"/>
</LinearLayout>
</FrameLayout>
2015-03-15 13:52:07 +01:00
<FrameLayout
2016-08-11 14:17:09 +02:00
android:id="@+id/widget_top_bar"
android:layout_width="match_parent"
android:layout_height="wrap_content"
2016-08-11 14:17:09 +02:00
android:clickable="true"
android:visibility="gone"
tools:visibility="visible">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical">
<LinearLayout
2016-08-11 14:17:09 +02:00
android:id="@+id/widget_top_bar_layout"
android:layout_width="match_parent"
2016-08-11 14:17:09 +02:00
android:layout_height="wrap_content"
android:minHeight="@dimen/dashboard_map_toolbar"
android:gravity="center_vertical"
android:orientation="horizontal">
2016-07-25 21:24:32 +02:00
<ImageButton
2016-08-11 14:17:09 +02:00
android:id="@+id/widget_top_bar_back_button"
2016-07-25 21:24:32 +02:00
style="@style/Widget.AppCompat.ActionButton"
2016-08-11 14:17:09 +02:00
android:layout_width="56dp"
android:layout_height="56dp"
android:layout_gravity="top"
2016-07-25 21:24:32 +02:00
android:contentDescription="@string/back_to_search"
android:src="@drawable/ic_arrow_back"/>
2016-08-11 14:17:09 +02:00
<LinearLayout
android:id="@+id/widget_top_bar_title_layout"
android:layout_width="0dp"
2016-08-11 14:17:09 +02:00
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"
android:layout_weight="1"
2016-08-11 14:17:09 +02:00
android:orientation="vertical"
android:paddingBottom="10dp"
android:paddingTop="10dp">
<TextView
android:id="@+id/widget_top_bar_title"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@null"
android:ellipsize="end"
android:gravity="center_vertical"
android:lines="1"
android:singleLine="true"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/abc_text_size_medium_material"
tools:text="OsmAnd+ 50% discount"/>
<TextView
android:id="@+id/widget_top_bar_description"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@null"
android:ellipsize="end"
android:gravity="center_vertical"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_sub_text_size"
android:visibility="gone"
tools:text="New version of OsmAnd+ with 50% discount"/>
</LinearLayout>
<ImageButton
android:id="@+id/widget_top_bar_refresh_button"
style="@style/Widget.AppCompat.ActionButton"
android:layout_width="48dp"
android:layout_height="56dp"
android:layout_gravity="top"
android:contentDescription="@string/shared_string_refresh"
android:src="@drawable/ic_action_refresh_dark"
android:visibility="gone"/>
<ImageButton
2016-08-11 14:17:09 +02:00
android:id="@+id/widget_top_bar_close_button"
style="@style/Widget.AppCompat.ActionButton"
android:layout_width="48dp"
2016-08-11 14:17:09 +02:00
android:layout_height="56dp"
android:layout_gravity="top"
android:contentDescription="@string/shared_string_close"
android:src="@drawable/ic_action_remove_dark"/>
2017-08-11 17:08:45 +02:00
<net.osmand.plus.widgets.TextViewEx
android:id="@+id/widget_top_bar_save"
android:layout_width="wrap_content"
android:layout_height="56dp"
android:background="@null"
android:ellipsize="end"
android:gravity="center_vertical"
android:lines="1"
android:paddingRight="16dp"
android:paddingEnd="16dp"
android:textAllCaps="true"
android:singleLine="true"
android:textColor="?android:textColorPrimary"
android:textSize="@dimen/default_desc_text_size"
android:contentDescription="@string/shared_string_save"
android:text="@string/shared_string_save"
tools:visibility="visible"
android:visibility="gone"
osmand:typeface="@string/font_roboto_medium"/>
<android.support.v7.widget.SwitchCompat
android:id="@+id/widget_top_bar_switch"
android:layout_width="wrap_content"
android:layout_height="56dp"
android:paddingEnd="16dp"
android:paddingRight="16dp"
android:visibility="gone"
tools:visibility="visible"/>
</LinearLayout>
2017-05-06 18:24:07 +02:00
<LinearLayout
android:id="@+id/widget_top_bar_bottom_view"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:visibility="gone"/>
<FrameLayout
2016-08-11 14:17:09 +02:00
android:id="@+id/widget_top_bar_shadow"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="@drawable/bg_contextmenu_shadow"
android:foregroundGravity="top|fill_horizontal"/>
</LinearLayout>
</FrameLayout>
2016-02-13 12:32:25 +01:00
<FrameLayout
2017-10-02 10:34:13 +02:00
android:id="@+id/map_markers_top_bar"
android:layout_width="fill_parent"
2016-02-13 12:32:25 +01:00
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:clickable="true"
android:minHeight="@dimen/map_address_height"
android:visibility="gone"
tools:visibility="visible">
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
<LinearLayout
2016-02-13 12:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:orientation="vertical">
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
<FrameLayout
2016-02-13 12:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:minHeight="60dp"
android:background="@color/markers_top_bar_background">
2016-02-13 12:32:25 +01:00
<LinearLayout
2017-10-02 10:34:13 +02:00
android:id="@+id/map_marker_row"
android:layout_width="match_parent"
2016-02-13 12:32:25 +01:00
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:background="?attr/selectableItemBackground"
android:layout_gravity="center_vertical"
android:gravity="center_vertical"
android:layout_marginTop="5dp"
android:layout_marginBottom="5dp"
android:orientation="horizontal">
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
<ImageView
android:id="@+id/map_marker_arrow"
android:layout_width="66dp"
android:layout_height="36dp"
android:src="@drawable/ic_arrow_marker_diretion"/>
<LinearLayout
android:layout_width="0dp"
2016-02-13 12:32:25 +01:00
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:layout_weight="1"
android:orientation="vertical">
<TextView
android:id="@+id/map_marker_dist"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textStyle="bold"
android:textSize="26sp"
android:textColor="@color/color_white"
android:text="500 m"/>
<TextView
android:id="@+id/map_marker_address"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textColor="@color/marker_top_2nd_line_color"
android:textStyle="bold"
android:maxLines="1"
android:ellipsize="end"
android:textSize="@dimen/default_list_text_size"
android:text="Dmitrievskaya st., 45"/>
</LinearLayout>
<ImageButton
android:id="@+id/marker_btn_ok"
android:contentDescription="@string/move_to_history"
2017-10-02 10:34:13 +02:00
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/marker_circle_background_top_bar_with_inset"
tools:src="@drawable/ic_action_marker_passed"/>
2017-10-02 10:34:13 +02:00
<ImageButton
android:id="@+id/marker_btn_more"
android:contentDescription="@string/shared_string_more"
android:layout_width="50dp"
android:layout_height="50dp"
android:background="?attr/selectableItemBackgroundBorderless"
android:src="@drawable/ic_action_markers_list"/>
2016-02-13 12:32:25 +01:00
</LinearLayout>
2017-10-02 10:34:13 +02:00
</FrameLayout>
2016-02-13 12:32:25 +01:00
<FrameLayout
2017-10-02 10:34:13 +02:00
android:id="@+id/map_markers_top_bar_2nd"
2016-02-13 12:32:25 +01:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:minHeight="50dp"
android:background="@color/markers_top_bar_2nd_background"
android:visibility="visible">
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
<FrameLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="@drawable/bg_contextmenu_shadow"
android:foregroundGravity="top|fill_horizontal"/>
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
<LinearLayout
android:id="@+id/map_marker_row_2nd"
android:layout_width="match_parent"
2016-02-13 12:32:25 +01:00
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:background="?attr/selectableItemBackground"
android:layout_gravity="center_vertical"
2016-02-13 12:32:25 +01:00
android:gravity="center_vertical"
android:orientation="horizontal">
2017-10-02 10:34:13 +02:00
<ImageView
android:id="@+id/map_marker_arrow_2nd"
android:layout_width="66dp"
android:layout_height="24dp"
android:src="@drawable/ic_arrow_marker_diretion"/>
<RelativeLayout
android:layout_width="0dp"
2016-02-13 12:32:25 +01:00
android:layout_height="wrap_content"
2017-10-02 10:34:13 +02:00
android:layout_weight="1"
android:layout_marginTop="6dp"
android:layout_marginBottom="6dp"
android:gravity="center_vertical"
android:orientation="horizontal">
<TextView
android:id="@+id/map_marker_dist_2nd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="500 m"
android:textColor="@color/color_white"
android:textSize="@dimen/default_list_text_size_large"
android:textStyle="bold"/>
<TextView
android:id="@+id/map_marker_address_2nd"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignBaseline="@+id/map_marker_dist_2nd"
android:layout_toRightOf="@+id/map_marker_dist_2nd"
android:ellipsize="end"
android:maxLines="1"
android:text=" • Dmitr"
android:textColor="@color/marker_top_2nd_line_color"
android:textSize="@dimen/default_list_text_size"
android:textStyle="bold"/>
</RelativeLayout>
<ImageButton
android:id="@+id/marker_btn_ok_2nd"
android:contentDescription="@string/move_to_history"
2017-10-02 10:34:13 +02:00
android:layout_width="50dp"
android:layout_height="50dp"
android:background="@drawable/marker_circle_background_top_bar_with_inset"
tools:src="@drawable/ic_action_marker_passed"/>
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
</LinearLayout>
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
</FrameLayout>
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
<FrameLayout
android:id="@+id/map_markers_top_bar_shadow"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:foreground="@drawable/bg_contextmenu_shadow"
android:foregroundGravity="top|fill_horizontal"/>
2016-02-13 12:32:25 +01:00
2017-10-02 10:34:13 +02:00
</LinearLayout>
</FrameLayout>
2016-02-13 12:32:25 +01:00
2015-03-11 20:19:24 +01:00
<!-- Widgets -->
<FrameLayout
android:layout_width="match_parent"
android:layout_height="match_parent">
2015-03-11 20:19:24 +01:00
<!-- LEFT widgets colon -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="1">
2015-03-11 20:19:24 +01:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="top|left"
2015-10-22 00:38:05 +02:00
android:layout_weight="0.45"
android:orientation="vertical">
2015-03-11 20:19:24 +01:00
<LinearLayout
2015-03-15 01:45:16 +01:00
android:id="@+id/map_left_widgets_panel"
2015-03-11 20:19:24 +01:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|left"
android:orientation="vertical">
2015-03-11 20:19:24 +01:00
<!--
2015-03-11 20:19:24 +01:00
<include layout="@layout/map_hud_widget" />
<include layout="@layout/map_hud_widget" />
2015-03-15 22:18:33 +01:00
<include layout="@layout/map_hud_widget" />
-->
2015-03-11 20:19:24 +01:00
</LinearLayout>
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|left"
android:layout_marginLeft="@dimen/map_button_margin"
android:layout_marginTop="@dimen/map_button_margin"
android:orientation="horizontal">
2015-03-11 20:19:24 +01:00
2016-07-13 16:11:35 +02:00
<LinearLayout
2016-10-14 20:06:12 +02:00
android:id="@+id/layers_compass_layout"
2016-07-13 16:11:35 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:orientation="vertical">
<ImageButton
android:id="@+id/map_layers_button"
android:layout_width="@dimen/map_small_button_size"
android:layout_height="@dimen/map_small_button_size"
android:background="@drawable/btn_inset_circle_trans"
android:contentDescription="@string/configure_map"
tools:src="@drawable/ic_action_test_light"/>
<ImageButton
android:id="@+id/map_compass_button"
android:layout_width="@dimen/map_small_button_size"
android:layout_height="@dimen/map_small_button_size"
android:layout_marginTop="@dimen/map_small_button_margin"
android:background="@drawable/btn_inset_circle_trans"
android:contentDescription="@string/map_widget_compass"
tools:src="@drawable/ic_action_test_light"/>
</LinearLayout>
2015-03-11 20:19:24 +01:00
<ImageButton
2016-07-13 16:11:35 +02:00
android:id="@+id/map_search_button"
android:contentDescription="@string/map_widget_search"
2015-04-14 17:35:57 +02:00
android:layout_width="@dimen/map_small_button_size"
android:layout_height="@dimen/map_small_button_size"
2015-04-14 18:03:30 +02:00
android:layout_marginLeft="@dimen/map_small_button_margin"
android:background="@drawable/btn_inset_circle_trans"
tools:src="@drawable/ic_action_test_light"/>
2015-03-11 20:19:24 +01:00
</LinearLayout>
</LinearLayout>
2015-10-22 00:38:05 +02:00
<!-- empty block to not let widgets grow more than 45% -->
2015-03-14 02:01:43 +01:00
2015-03-11 20:19:24 +01:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.55">
2015-03-11 20:19:24 +01:00
</LinearLayout>
</LinearLayout>
2015-04-15 09:21:22 +02:00
2015-03-11 20:19:24 +01:00
<!-- RIGHT widgets colon -->
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:weightSum="1">
2015-03-11 20:19:24 +01:00
2015-10-22 00:38:05 +02:00
<!-- empty block to not let widgets grow more than 45% -->
2015-03-11 20:19:24 +01:00
<LinearLayout
android:layout_width="0dp"
android:layout_height="0dp"
android:layout_weight="0.55">
2015-03-11 20:19:24 +01:00
</LinearLayout>
2015-03-15 01:45:16 +01:00
<FrameLayout
2015-03-11 20:19:24 +01:00
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_gravity="top|right"
android:layout_weight="0.45">
2015-03-11 20:19:24 +01:00
<LinearLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|right"
android:orientation="vertical">
2015-03-11 20:19:24 +01:00
2015-03-15 01:45:16 +01:00
<LinearLayout
android:id="@+id/map_right_widgets_panel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|right"
android:orientation="vertical">
2015-03-15 13:52:07 +01:00
<include layout="@layout/map_hud_widget"/>
2015-04-15 09:21:22 +02:00
<include layout="@layout/map_hud_widget"/>
2015-03-15 01:45:16 +01:00
</LinearLayout>
2015-03-14 02:01:43 +01:00
2015-03-15 13:52:07 +01:00
<ImageButton
android:id="@+id/map_collapse_button"
android:contentDescription="@string/shared_string_collapse"
2015-04-14 17:35:57 +02:00
android:layout_width="@dimen/map_small_button_size"
android:layout_height="@dimen/map_small_button_size"
2015-03-15 13:52:07 +01:00
android:layout_gravity="top|center_horizontal"
2015-04-14 20:39:54 +02:00
android:background="@drawable/btn_inset_circle_trans"
tools:src="@drawable/ic_action_test_light"/>
2015-03-11 20:19:24 +01:00
</LinearLayout>
2015-03-15 01:45:16 +01:00
</FrameLayout>
2015-03-11 20:19:24 +01:00
</LinearLayout>
2015-04-15 09:21:22 +02:00
<!-- CENTER -->
2015-04-14 18:15:08 +02:00
<LinearLayout
android:id="@+id/map_center_info"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="top|center"
android:layout_marginTop="@dimen/map_button_margin"
android:background="@drawable/btn_round"
2015-04-15 09:21:22 +02:00
android:orientation="vertical"
android:visibility="gone">
2015-04-14 18:15:08 +02:00
<ImageView
android:id="@+id/map_lanes"
android:layout_width="wrap_content"
2017-11-11 11:16:18 +01:00
android:layout_height="wrap_content"
android:layout_gravity="center"
android:layout_marginLeft="@dimen/widget_turn_lane_border"
android:layout_marginRight="@dimen/widget_turn_lane_border"
android:layout_marginTop="@dimen/widget_turn_lane_border"/>
2015-04-14 18:15:08 +02:00
2015-04-15 09:21:22 +02:00
<FrameLayout
2015-04-14 18:15:08 +02:00
android:layout_width="wrap_content"
android:layout_height="0dp"
2015-04-14 18:15:08 +02:00
android:layout_gravity="center"
android:layout_weight="1">
2015-04-15 09:21:22 +02:00
<TextView
2015-04-15 09:41:57 +02:00
android:id="@+id/map_lanes_dist_text_shadow"
android:importantForAccessibility="no"
2015-04-15 09:21:22 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2017-11-11 11:16:18 +01:00
android:layout_marginLeft="@dimen/widget_turn_lane_border"
android:layout_marginRight="@dimen/widget_turn_lane_border"
2015-04-15 09:21:22 +02:00
android:maxLines="1"
android:textColor="@color/color_black"
2016-08-16 01:34:06 +02:00
android:textSize="@dimen/map_button_text_size"
tools:text="1048 km"/>
2015-04-15 09:21:22 +02:00
<TextView
2015-04-15 09:41:57 +02:00
android:id="@+id/map_lanes_dist_text"
2015-04-15 09:21:22 +02:00
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
2017-11-11 11:16:18 +01:00
android:layout_marginLeft="@dimen/widget_turn_lane_border"
android:layout_marginRight="@dimen/widget_turn_lane_border"
2015-04-15 09:21:22 +02:00
android:maxLines="1"
android:textColor="@color/color_black"
2016-08-16 01:34:06 +02:00
android:textSize="@dimen/map_button_text_size"
tools:text="1048 km"/>
2015-04-15 09:41:57 +02:00
2015-04-15 09:21:22 +02:00
</FrameLayout>
2015-04-14 18:15:08 +02:00
<ProgressBar
android:id="@+id/map_horizontal_progress"
style="?android:attr/progressBarStyleHorizontal"
android:layout_width="@dimen/map_routing_progress_width"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/map_button_margin"
android:layout_marginRight="@dimen/map_button_margin"
android:max="100"
android:progress="60"
android:visibility="gone"/>
2015-04-14 18:15:08 +02:00
</LinearLayout>
2015-03-11 20:19:24 +01:00
</FrameLayout>
</LinearLayout>