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"
|
2015-12-01 10:20:21 +01:00
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2016-12-23 18:45:08 +01:00
|
|
|
android:layout_height="match_parent"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_gravity="bottom"
|
2016-12-23 18:45:08 +01:00
|
|
|
android:animateLayoutChanges="true"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:orientation="vertical">
|
2015-03-11 20:19:24 +01:00
|
|
|
|
2016-12-23 18:45:08 +01:00
|
|
|
<net.osmand.plus.quickaction.QuickActionsWidget
|
|
|
|
android:id="@+id/quick_action_widget"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:visibility="gone"/>
|
|
|
|
|
|
|
|
<Space
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="0dp"
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
2015-03-11 20:19:24 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_height="wrap_content">
|
2015-03-11 20:19:24 +01:00
|
|
|
|
2015-03-15 20:29:26 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/map_alarm_warning"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_width="@dimen/map_alarm_size"
|
|
|
|
android:layout_height="@dimen/map_alarm_size"
|
2015-03-15 20:29:26 +01:00
|
|
|
android:layout_gravity="bottom|left"
|
2015-03-15 22:18:33 +01:00
|
|
|
android:layout_marginBottom="@dimen/map_alarm_bottom_margin"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_marginLeft="@dimen/map_button_shadow_margin">
|
2015-04-15 09:21:22 +02:00
|
|
|
|
2015-03-15 20:29:26 +01:00
|
|
|
<ImageView
|
|
|
|
android:id="@+id/map_alarm_warning_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:src="@drawable/warnings_limit"/>
|
2015-04-15 09:21:22 +02:00
|
|
|
|
2015-03-15 20:29:26 +01:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/map_alarm_warning_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:textColor="@color/color_black"
|
|
|
|
android:textSize="@dimen/map_alarm_text_size"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="60"/>
|
2015-03-15 20:29:26 +01:00
|
|
|
</FrameLayout>
|
2015-04-15 09:21:22 +02:00
|
|
|
|
2016-04-13 14:40:43 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/map_app_mode_text"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
tools:text="13.44"
|
|
|
|
android:layout_marginBottom="56dp"
|
|
|
|
android:layout_marginLeft="8dp"
|
2015-03-14 01:02:35 +01:00
|
|
|
android:layout_gravity="bottom|left"
|
2016-04-13 14:40:43 +02:00
|
|
|
android:textSize="@dimen/map_button_text_size"/>
|
2015-03-14 01:02:35 +01:00
|
|
|
|
2016-02-08 16:04:27 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/map_transparency_layout"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-10 11:16:40 +02:00
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
2016-02-08 16:04:27 +01:00
|
|
|
android:layout_marginBottom="@dimen/map_button_size"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/map_transparency_seekbar"
|
|
|
|
android:layout_width="@dimen/map_trans_seek_size"
|
|
|
|
android:layout_height="wrap_content"
|
2016-02-24 14:44:22 +01:00
|
|
|
android:layout_gravity="center"
|
|
|
|
android:paddingLeft="6dp"
|
|
|
|
android:paddingRight="6dp"/>
|
2016-02-08 16:04:27 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/map_transparency_hide"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:background="@drawable/btn_circle_transparent"
|
2016-04-13 14:40:43 +02:00
|
|
|
android:contentDescription="@string/shared_string_hide"
|
2016-02-08 16:04:27 +01:00
|
|
|
android:src="@drawable/headliner_close"/>
|
|
|
|
</LinearLayout>
|
|
|
|
|
2015-03-11 20:19:24 +01:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|left"
|
|
|
|
android:layout_marginBottom="@dimen/map_button_margin"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_marginLeft="@dimen/map_button_margin">
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<ImageButton
|
2015-03-14 01:02:35 +01:00
|
|
|
android:id="@+id/map_menu_button"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:background="@drawable/btn_round"
|
2016-04-13 14:40:43 +02:00
|
|
|
android:contentDescription="@string/backToMenu"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<ImageButton
|
2015-03-14 01:02:35 +01:00
|
|
|
android:id="@+id/map_route_info_button"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_spacing"
|
|
|
|
android:background="@drawable/btn_round"
|
2016-04-13 14:40:43 +02:00
|
|
|
android:contentDescription="@string/layer_route"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2015-04-15 09:21:22 +02:00
|
|
|
|
2015-03-15 20:29:26 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/map_ruler_layout"
|
|
|
|
android:layout_width="@dimen/map_ruler_width"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_marginLeft="@dimen/map_button_margin">
|
2015-04-15 09:21:22 +02:00
|
|
|
|
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_marginBottom="@dimen/map_ruler_bottom_margin">
|
|
|
|
|
2015-04-15 09:21:22 +02:00
|
|
|
|
|
|
|
<TextView
|
2015-04-15 09:41:57 +02:00
|
|
|
android:id="@+id/map_ruler_text_shadow"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:gravity="center_horizontal"
|
2015-11-19 01:01:14 +01:00
|
|
|
android:lineSpacingMultiplier="0.9"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:textSize="@dimen/map_widget_text_size_small"
|
|
|
|
tools:text="100 m"/>
|
|
|
|
|
2015-04-15 09:21:22 +02:00
|
|
|
<TextView
|
2015-04-15 09:41:57 +02:00
|
|
|
android:id="@+id/map_ruler_text"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:gravity="center_horizontal"
|
2015-11-19 01:01:14 +01:00
|
|
|
android:lineSpacingMultiplier="0.9"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:textSize="@dimen/map_widget_text_size_small"
|
|
|
|
tools:text="100 m"/>
|
2015-04-15 09:41:57 +02:00
|
|
|
|
2015-04-15 09:21:22 +02:00
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<ImageView
|
2015-03-15 20:29:26 +01:00
|
|
|
android:id="@+id/map_ruler_image"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:background="@drawable/ruler"/>
|
2015-03-15 20:29:26 +01:00
|
|
|
</FrameLayout>
|
2015-03-11 20:19:24 +01:00
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|right"
|
|
|
|
android:layout_marginBottom="@dimen/map_button_margin"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_marginRight="@dimen/map_button_margin">
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<ImageButton
|
2015-03-11 23:44:55 +01:00
|
|
|
android:id="@+id/map_my_location_button"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="@drawable/btn_circle"
|
2016-04-13 14:40:43 +02:00
|
|
|
android:contentDescription="@string/shared_string_my_location"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_spacing"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:orientation="vertical">
|
2015-03-11 20:19:24 +01:00
|
|
|
|
2016-12-23 18:45:08 +01:00
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/map_quick_actions_button"
|
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:background="@drawable/btn_circle_blue"
|
|
|
|
android:contentDescription="@string/zoomIn"
|
|
|
|
android:visibility="gone"
|
|
|
|
android:layout_marginBottom="@dimen/map_button_spacing"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
|
|
|
|
2015-03-11 20:19:24 +01:00
|
|
|
<ImageButton
|
2015-03-11 23:44:55 +01:00
|
|
|
android:id="@+id/map_zoom_in_button"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:background="@drawable/btn_circle"
|
2016-04-13 14:40:43 +02:00
|
|
|
android:contentDescription="@string/zoomIn"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<ImageButton
|
2015-03-14 01:02:35 +01:00
|
|
|
android:id="@+id/map_zoom_out_button"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:layout_marginTop="@dimen/map_button_spacing"
|
|
|
|
android:background="@drawable/btn_circle"
|
2016-04-13 14:40:43 +02:00
|
|
|
android:contentDescription="@string/zoomOut"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2015-03-11 20:19:24 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
2015-12-01 10:20:21 +01:00
|
|
|
|
2015-03-11 20:19:24 +01:00
|
|
|
<FrameLayout
|
|
|
|
android:layout_width="match_parent"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:layout_height="wrap_content">
|
2015-03-11 20:19:24 +01:00
|
|
|
|
2016-05-05 10:23:22 +02:00
|
|
|
<include layout="@layout/recording_note_fragment"
|
|
|
|
tools:visibility="gone"/>
|
|
|
|
|
|
|
|
<include layout="@layout/move_marker_bottom_sheet"/>
|
2016-02-08 16:19:52 +01:00
|
|
|
|
2015-03-11 20:19:24 +01:00
|
|
|
<LinearLayout
|
2015-03-14 01:02:35 +01:00
|
|
|
android:id="@+id/map_context_menu_layout"
|
2015-03-11 20:19:24 +01:00
|
|
|
android:layout_width="match_parent"
|
2015-03-11 23:44:55 +01:00
|
|
|
android:layout_height="wrap_content"
|
2015-03-14 01:02:35 +01:00
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="@drawable/btn_flat"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:visibility="gone">
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:ellipsize="end"
|
2015-12-01 10:20:21 +01:00
|
|
|
android:gravity="center">
|
2015-03-11 20:19:24 +01:00
|
|
|
</TextView>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="@dimen/map_address_height"
|
|
|
|
android:layout_height="@dimen/map_address_height"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:background="@drawable/btn_circle_transparent"
|
2016-04-13 14:40:43 +02:00
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2015-03-11 20:19:24 +01:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:layout_width="@dimen/map_address_height"
|
|
|
|
android:layout_height="@dimen/map_address_height"
|
|
|
|
android:layout_gravity="center_vertical"
|
|
|
|
android:background="@drawable/btn_circle_transparent"
|
2016-04-13 14:40:43 +02:00
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2015-03-11 20:19:24 +01:00
|
|
|
</LinearLayout>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|