OsmAnd/OsmAnd/res/layout/map_route_prepare_bottom.xml
2017-12-18 18:44:09 +02:00

87 lines
No EOL
4.1 KiB
XML

<?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:id="@+id/map_route_preparation_layout"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:background="@color/route_info_bottom_view_bg_dark"
android:layout_gravity="bottom">
<ImageButton
android:id="@+id/map_cancel_route_button"
android:contentDescription="@string/cancel_route"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/route_info_buttons_padding_top_bottom"
android:paddingBottom="@dimen/route_info_buttons_padding_top_bottom"
android:paddingLeft="@dimen/route_info_buttons_padding_left_right"
android:paddingRight="@dimen/route_info_buttons_padding_left_right"
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_test_light" />
<View
android:id="@+id/dividerBtn1"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/route_info_buttons_padding_top_bottom"
android:layout_marginBottom="@dimen/route_info_buttons_padding_top_bottom"
android:layout_gravity="center"
tools:background="@color/route_info_divider_dark"/>
<ImageButton
android:id="@+id/map_waypoints_route_button"
android:contentDescription="@string/waypoints"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/route_info_buttons_padding_top_bottom"
android:paddingBottom="@dimen/route_info_buttons_padding_top_bottom"
android:paddingLeft="@dimen/route_info_buttons_padding_left_right"
android:paddingRight="@dimen/route_info_buttons_padding_left_right"
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_test_light" />
<View
android:id="@+id/dividerBtn2"
android:layout_width="1dp"
android:layout_height="match_parent"
android:layout_marginTop="@dimen/route_info_buttons_padding_top_bottom"
android:layout_marginBottom="@dimen/route_info_buttons_padding_top_bottom"
android:layout_gravity="center"
tools:background="@color/route_info_divider_dark"/>
<ImageButton
android:id="@+id/map_options_route_button"
android:contentDescription="@string/shared_string_more"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:paddingTop="@dimen/route_info_buttons_padding_top_bottom"
android:paddingBottom="@dimen/route_info_buttons_padding_top_bottom"
android:paddingLeft="@dimen/route_info_buttons_padding_left_right"
android:paddingRight="@dimen/route_info_buttons_padding_left_right"
android:layout_gravity="center_vertical"
android:background="?attr/dashboard_button"
android:src="@drawable/ic_action_test_light" />
<TextView
android:textAllCaps="true"
android:id="@+id/map_go_route_button"
android:layout_height="match_parent"
android:layout_width="match_parent"
android:layout_gravity="center_vertical"
tools:drawableLeft="@drawable/ic_action_test_light"
android:gravity="center_vertical"
android:drawablePadding="@dimen/route_info_button_go_drawable_padding"
android:paddingLeft="@dimen/route_info_button_go_drawable_padding"
android:paddingStart="@dimen/route_info_button_go_drawable_padding"
android:layout_marginTop="@dimen/route_info_button_go_margin"
android:layout_marginBottom="@dimen/route_info_button_go_margin"
android:layout_marginRight="@dimen/route_info_button_go_margin"
android:layout_marginEnd="@dimen/route_info_button_go_margin"
android:textSize="@dimen/default_list_text_size"
android:textStyle="bold"
tools:background="@drawable/route_info_go_btn_bg_dark"/>
</LinearLayout>