2014-03-16 23:12:04 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2018-11-16 18:16:37 +01:00
|
|
|
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:id="@+id/plan_route_info"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="@color/color_transparent">
|
|
|
|
|
|
|
|
<net.osmand.plus.mapcontextmenu.InterceptorLinearLayout
|
|
|
|
android:id="@+id/main_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/route_menu_top_shadow_all"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:background="@drawable/route_info_menu_bg_light">
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/ModesLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/route_info_modes_height"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/app_modes"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:layout_marginLeft="@dimen/context_menu_buttons_padding_bottom"
|
|
|
|
android:layout_marginRight="@dimen/context_menu_buttons_padding_bottom"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingEnd="@dimen/route_info_app_modes_padding"
|
|
|
|
android:paddingRight="@dimen/route_info_app_modes_padding" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center_horizontal"
|
|
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
|
|
android:layout_marginStart="@dimen/list_content_padding"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/waypoints"
|
|
|
|
android:layout_width="@dimen/list_item_height"
|
|
|
|
android:layout_height="@dimen/list_item_height"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:scaleType="center"
|
|
|
|
android:src="@drawable/map_action_waypoints" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/app_modes_options_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
tools:background="@drawable/route_info_trans_gradient_light">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/app_modes_options"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:paddingLeft="@dimen/route_info_icon_padding_right"
|
|
|
|
android:paddingRight="@dimen/route_info_icon_padding_right"
|
|
|
|
android:src="@drawable/ic_overflow_menu_dark" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/FromLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:minHeight="@dimen/route_info_list_item_height"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/fromIcon"
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="@dimen/standard_icon_size"
|
|
|
|
android:layout_marginBottom="@dimen/list_header_text_left_margin"
|
|
|
|
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
|
|
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
|
|
android:layout_marginRight="@dimen/favorites_icon_right_margin"
|
|
|
|
android:layout_marginStart="@dimen/list_content_padding"
|
|
|
|
android:layout_marginTop="@dimen/list_header_text_left_margin"
|
|
|
|
android:src="@drawable/map_default_location" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/fromTitle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:layout_marginRight="@dimen/list_content_padding"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:text="@string/route_from"
|
|
|
|
android:textSize="@dimen/default_sub_text_size" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/FromSpinner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="-8dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/from_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/route_info_buttons_height"
|
|
|
|
android:layout_marginBottom="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginLeft="@dimen/context_menu_padding_margin_medium"
|
|
|
|
android:layout_marginRight="@dimen/context_menu_padding_margin_medium"
|
|
|
|
android:layout_marginTop="@dimen/route_info_icon_vertical_padding"
|
|
|
|
tools:background="@drawable/btn_border_trans_rounded_dark">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/from_button_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
tools:visibility="visible">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/from_button_description"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:textSize="@dimen/text_button_text_size"
|
|
|
|
android:visibility="gone"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
tools:text="@string/shared_string_edit"
|
|
|
|
tools:textColor="?attr/wikivoyage_active_color"
|
|
|
|
tools:visibility="gone" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/from_button_image_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginLeft="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginRight="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginTop="@dimen/route_info_icon_vertical_padding"
|
|
|
|
tools:src="@drawable/ic_action_test_light" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/dividerFromDropDown"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginEnd="@dimen/route_info_end_divider_margin"
|
|
|
|
android:layout_marginLeft="@dimen/route_info_start_divider_margin"
|
|
|
|
android:layout_marginRight="@dimen/route_info_end_divider_margin"
|
|
|
|
android:layout_marginStart="@dimen/route_info_start_divider_margin"
|
|
|
|
android:background="@color/dashboard_divider_dark"
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/ViaLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:minHeight="@dimen/route_info_list_item_height"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/viaIcon"
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="@dimen/standard_icon_size"
|
|
|
|
android:layout_marginBottom="@dimen/list_header_text_left_margin"
|
|
|
|
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
|
|
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
|
|
android:layout_marginRight="@dimen/favorites_icon_right_margin"
|
|
|
|
android:layout_marginStart="@dimen/list_content_padding"
|
|
|
|
android:layout_marginTop="@dimen/list_header_text_left_margin"
|
|
|
|
android:src="@drawable/map_default_location" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/ViaSubView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:layout_marginTop="5dp"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:ellipsize="end"
|
2018-11-16 18:16:37 +01:00
|
|
|
android:gravity="left"
|
2018-11-22 10:22:35 +01:00
|
|
|
android:singleLine="true"
|
2018-11-16 18:16:37 +01:00
|
|
|
android:text="@string/intermediate_destinations"
|
|
|
|
android:textSize="@dimen/default_sub_text_size" />
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/ViaView"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginRight="@dimen/list_content_padding"
|
|
|
|
android:gravity="left"
|
|
|
|
android:singleLine="true"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/via_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/route_info_buttons_height"
|
|
|
|
android:layout_marginBottom="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginLeft="@dimen/context_menu_padding_margin_medium"
|
|
|
|
android:layout_marginRight="@dimen/context_menu_padding_margin_medium"
|
|
|
|
android:layout_marginTop="@dimen/route_info_icon_vertical_padding"
|
|
|
|
tools:background="@drawable/btn_border_trans_rounded_dark">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/via_button_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:visibility="visible">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/via_button_description"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginLeft="@dimen/content_padding_small"
|
|
|
|
android:layout_marginStart="@dimen/content_padding_small"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/shared_string_edit"
|
|
|
|
android:textSize="@dimen/text_button_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
tools:textColor="?attr/wikivoyage_active_color" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/via_button_image_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginLeft="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginRight="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginTop="@dimen/route_info_icon_vertical_padding"
|
|
|
|
tools:src="@drawable/ic_action_edit_dark" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/viaLayoutDivider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_marginEnd="@dimen/route_info_end_divider_margin"
|
|
|
|
android:layout_marginLeft="@dimen/route_info_start_divider_margin"
|
|
|
|
android:layout_marginRight="@dimen/route_info_end_divider_margin"
|
|
|
|
android:layout_marginStart="@dimen/route_info_start_divider_margin"
|
|
|
|
android:background="@color/dashboard_divider_dark"
|
|
|
|
android:focusable="false" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/ToLayout"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
android:minHeight="@dimen/route_info_list_item_height"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/toIcon"
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="@dimen/standard_icon_size"
|
|
|
|
android:layout_marginBottom="@dimen/list_header_text_left_margin"
|
|
|
|
android:layout_marginEnd="@dimen/favorites_icon_right_margin"
|
|
|
|
android:layout_marginLeft="@dimen/list_content_padding"
|
|
|
|
android:layout_marginRight="@dimen/favorites_icon_right_margin"
|
|
|
|
android:layout_marginStart="@dimen/list_content_padding"
|
|
|
|
android:layout_marginTop="@dimen/list_header_text_left_margin"
|
|
|
|
android:src="@drawable/map_default_location" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/toTitle"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="3dp"
|
|
|
|
android:layout_marginTop="5dp"
|
|
|
|
android:text="@string/route_to"
|
|
|
|
android:textSize="@dimen/default_sub_text_size" />
|
|
|
|
|
|
|
|
<Spinner
|
|
|
|
android:id="@+id/ToSpinner"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="-8dp"
|
|
|
|
android:background="@null"
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/to_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="@dimen/route_info_buttons_height"
|
|
|
|
android:layout_marginBottom="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginLeft="@dimen/context_menu_padding_margin_medium"
|
|
|
|
android:layout_marginRight="@dimen/context_menu_padding_margin_medium"
|
|
|
|
android:layout_marginTop="@dimen/route_info_icon_vertical_padding"
|
|
|
|
tools:background="@drawable/btn_border_trans_rounded_dark">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/to_button_container"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:gravity="center"
|
|
|
|
android:visibility="visible">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/to_button_description"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:layout_marginLeft="@dimen/content_padding_small"
|
|
|
|
android:layout_marginStart="@dimen/content_padding_small"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/shared_string_add"
|
|
|
|
android:textSize="@dimen/text_button_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
tools:textColor="?attr/wikivoyage_active_color" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/to_button_image_view"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginBottom="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginLeft="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginRight="@dimen/route_info_icon_vertical_padding"
|
|
|
|
android:layout_marginTop="@dimen/route_info_icon_vertical_padding"
|
|
|
|
tools:src="@drawable/ic_action_plus" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/dividerButtons"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:focusable="false"
|
|
|
|
tools:background="@color/dashboard_divider_dark" />
|
|
|
|
|
|
|
|
<FrameLayout
|
2018-11-21 09:32:12 +01:00
|
|
|
android:id="@+id/map_route_options"
|
2018-11-16 18:16:37 +01:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="@dimen/list_item_height">
|
|
|
|
|
2018-11-21 09:32:12 +01:00
|
|
|
<HorizontalScrollView
|
|
|
|
android:id="@+id/route_options_scroll_container"
|
|
|
|
android:layout_width="wrap_content"
|
2018-11-16 18:16:37 +01:00
|
|
|
android:layout_height="match_parent"
|
2018-11-21 09:32:12 +01:00
|
|
|
android:layout_gravity="start"
|
|
|
|
android:paddingBottom="@dimen/bottom_sheet_content_margin_small"
|
|
|
|
android:paddingTop="@dimen/bottom_sheet_content_margin_small">
|
2018-11-16 18:16:37 +01:00
|
|
|
|
2018-11-21 09:32:12 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/route_options_container"
|
2018-11-16 18:16:37 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
2018-11-21 09:32:12 +01:00
|
|
|
android:gravity="start"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingEnd="70dp"
|
|
|
|
android:paddingLeft="5dp"
|
|
|
|
android:paddingRight="70dp"
|
|
|
|
android:paddingStart="5dp">
|
2018-11-16 18:16:37 +01:00
|
|
|
|
2018-11-21 09:32:12 +01:00
|
|
|
</LinearLayout>
|
2018-11-16 18:16:37 +01:00
|
|
|
|
2018-11-21 09:32:12 +01:00
|
|
|
</HorizontalScrollView>
|
|
|
|
|
2018-11-22 15:43:18 +01:00
|
|
|
<LinearLayout
|
2018-11-21 09:32:12 +01:00
|
|
|
android:id="@+id/map_options_route_button"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="end"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:orientation="horizontal"
|
2018-11-21 09:32:12 +01:00
|
|
|
android:paddingLeft="@dimen/route_info_buttons_padding_top_bottom"
|
2018-11-22 15:43:18 +01:00
|
|
|
android:paddingStart="@dimen/route_info_buttons_padding_top_bottom">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/map_options_route_button_title"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:layout_gravity="end"
|
|
|
|
android:ellipsize="end"
|
|
|
|
android:gravity="center"
|
|
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
|
|
android:maxLines="1"
|
|
|
|
android:text="@string/shared_string_options"
|
|
|
|
android:textSize="@dimen/text_button_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
|
|
tools:ignore="UnusedAttribute"
|
|
|
|
tools:textColor="?attr/wikivoyage_active_color" />
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/map_options_route_button_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:paddingEnd="@dimen/route_info_buttons_padding_top_bottom"
|
|
|
|
android:paddingLeft="@dimen/content_padding_small"
|
|
|
|
android:paddingRight="@dimen/route_info_buttons_padding_top_bottom"
|
|
|
|
android:paddingStart="@dimen/content_padding_small"
|
|
|
|
tools:src="@drawable/ic_action_edit_dark"
|
|
|
|
tools:tint="@color/recording_color" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2018-11-16 18:16:37 +01:00
|
|
|
|
|
|
|
<ProgressBar
|
|
|
|
android:id="@+id/progress_bar"
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="2dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:max="100"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:progress="60"
|
|
|
|
tools:visibility="visible" />
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/bottom_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:foregroundGravity="top|fill_horizontal"
|
|
|
|
tools:foreground="@drawable/bg_contextmenu_shadow">
|
|
|
|
|
|
|
|
<net.osmand.plus.LockableScrollView
|
|
|
|
android:id="@+id/route_menu_bottom_scroll"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
tools:background="?attr/ctx_menu_info_view_bg">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/route_menu_bottom_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical"
|
|
|
|
tools:background="?attr/ctx_menu_info_view_bg">
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</net.osmand.plus.LockableScrollView>
|
|
|
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</net.osmand.plus.mapcontextmenu.InterceptorLinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/control_buttons"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="10dp"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="@drawable/bg_contextmenu_shadow_top_light" />
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/route_info_menu_control_buttons"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
2014-11-17 16:25:17 +01:00
|
|
|
|
2015-12-10 14:50:55 +01:00
|
|
|
</FrameLayout>
|