196 lines
No EOL
6.6 KiB
XML
196 lines
No EOL
6.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<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:layout_gravity="bottom"
|
|
android:background="@color/color_transparent">
|
|
|
|
<LinearLayout
|
|
android:id="@+id/main_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:background="?attr/bg_color"
|
|
android:orientation="vertical">
|
|
|
|
<FrameLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="48dp"
|
|
android:orientation="horizontal">
|
|
|
|
<LinearLayout
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="horizontal">
|
|
|
|
<ImageView
|
|
android:id="@+id/back_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:background="?attr/selectableItemBackgroundBorderless"
|
|
android:contentDescription="@string/shared_string_collapse"
|
|
android:paddingEnd="@dimen/bottom_sheet_icon_margin"
|
|
android:paddingLeft="@dimen/content_padding"
|
|
android:paddingRight="@dimen/bottom_sheet_icon_margin"
|
|
android:paddingStart="@dimen/content_padding"
|
|
android:scaleType="center"
|
|
android:src="@drawable/ic_arrow_back"
|
|
android:visibility="visible" />
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/title"
|
|
android:layout_width="0dp"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_weight="1"
|
|
android:ellipsize="end"
|
|
android:maxLines="1"
|
|
android:text="@string/shared_string_target_points"
|
|
android:textColor="?attr/main_font_color_basic"
|
|
android:textSize="@dimen/default_list_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
|
|
</LinearLayout>
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/sort_button"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="end"
|
|
android:background="?attr/selectableItemBackground"
|
|
android:ellipsize="end"
|
|
android:gravity="center"
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
android:maxLines="1"
|
|
android:paddingLeft="16dp"
|
|
android:paddingRight="16dp"
|
|
android:text="@string/shared_string_sort"
|
|
android:textColor="?attr/active_color_basic"
|
|
android:textSize="@dimen/text_button_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/dash_list_view_layout"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="vertical"
|
|
android:visibility="visible">
|
|
|
|
<net.osmand.plus.views.controls.DynamicListView
|
|
android:id="@+id/dash_list_view"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginBottom="116dp"
|
|
android:divider="@null"
|
|
android:fadeScrollbars="true" />
|
|
|
|
<LinearLayout
|
|
android:id="@+id/waypoints_control_buttons"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="wrap_content"
|
|
android:layout_gravity="bottom"
|
|
android:orientation="horizontal"
|
|
android:paddingBottom="60dp"
|
|
android:paddingTop="6dp">
|
|
|
|
<FrameLayout
|
|
android:id="@+id/add_button"
|
|
android:layout_width="0dp"
|
|
android:layout_height="36dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="@dimen/route_info_details_padding"
|
|
android:layout_marginLeft="@dimen/route_info_buttons_padding_top_bottom"
|
|
android:layout_marginRight="@dimen/route_info_buttons_padding_top_bottom"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/add_button_descr"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="36dp"
|
|
android:layout_gravity="center"
|
|
android:drawablePadding="12dp"
|
|
android:ellipsize="end"
|
|
android:gravity="start|center_vertical"
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
android:maxLines="1"
|
|
android:paddingLeft="8dp"
|
|
android:paddingRight="8dp"
|
|
android:text="@string/shared_string_add"
|
|
android:textSize="@dimen/text_button_text_size"
|
|
android:textColor="?attr/active_color_basic"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:drawableLeft="@drawable/ic_action_plus"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
</FrameLayout>
|
|
|
|
<FrameLayout
|
|
android:id="@+id/clear_all_button"
|
|
android:layout_width="0dp"
|
|
android:layout_height="36dp"
|
|
android:layout_gravity="center_vertical"
|
|
android:layout_marginBottom="@dimen/route_info_details_padding"
|
|
android:layout_marginLeft="@dimen/route_info_buttons_padding_top_bottom"
|
|
android:layout_marginRight="@dimen/route_info_buttons_padding_top_bottom"
|
|
android:layout_marginTop="6dp"
|
|
android:layout_weight="1"
|
|
android:orientation="horizontal">
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
android:id="@+id/clear_all_button_descr"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="36dp"
|
|
android:layout_gravity="center"
|
|
android:drawablePadding="12dp"
|
|
android:ellipsize="end"
|
|
android:gravity="start|center_vertical"
|
|
android:letterSpacing="@dimen/text_button_letter_spacing"
|
|
android:maxLines="1"
|
|
android:paddingLeft="8dp"
|
|
android:paddingRight="8dp"
|
|
android:textColor="?attr/active_color_basic"
|
|
android:text="@string/shared_string_clear_all"
|
|
android:textSize="@dimen/text_button_text_size"
|
|
osmand:typeface="@string/font_roboto_medium"
|
|
tools:drawableLeft="@drawable/ic_action_clear_all"
|
|
tools:ignore="UnusedAttribute" />
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
<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="@dimen/route_info_list_item_height"
|
|
android:layout_gravity="bottom" />
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout> |