2015-03-15 23:50:53 +01:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2016-06-06 17:53:18 +02:00
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
android:layout_width="match_parent"
|
2016-12-28 16:33:40 +01:00
|
|
|
android:layout_height="wrap_content"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2016-07-06 10:01:46 +02:00
|
|
|
<LinearLayout
|
2016-12-27 18:58:37 +01:00
|
|
|
android:id="@+id/bottom_controls_container"
|
2016-07-06 10:01:46 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
2015-03-15 23:50:53 +01:00
|
|
|
|
|
|
|
<FrameLayout
|
2016-04-13 14:40:43 +02:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-06 10:01:46 +02:00
|
|
|
android:layout_gravity="bottom|left">
|
2015-03-15 23:50:53 +01:00
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
<!-- ALARM -->
|
2015-03-15 23:50:53 +01:00
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/map_alarm_warning"
|
|
|
|
android:layout_width="@dimen/map_alarm_size"
|
|
|
|
android:layout_height="@dimen/map_alarm_size"
|
|
|
|
android:layout_gravity="bottom|left"
|
|
|
|
android:layout_marginBottom="@dimen/map_alarm_bottom_margin_land"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_shadow_margin">
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/map_alarm_warning_icon"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"
|
|
|
|
android:src="@drawable/warnings_limit"/>
|
|
|
|
|
|
|
|
<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"
|
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="60"/>
|
2018-02-06 13:37:30 +01:00
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/map_alarm_warning_text_bottom"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|center_horizontal"
|
|
|
|
android:layout_marginBottom="@dimen/map_alarm_bottom_text_margin"
|
|
|
|
android:textSize="@dimen/map_alarm_bottom_text_size"
|
|
|
|
android:textStyle="bold"
|
|
|
|
tools:text="1.2 km"
|
|
|
|
tools:textColor="@color/color_black"/>
|
2016-06-06 17:53:18 +02:00
|
|
|
</FrameLayout>
|
2015-03-15 23:50:53 +01:00
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
<TextView
|
|
|
|
android:id="@+id/map_app_mode_text"
|
2015-12-03 18:11:05 +01:00
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginBottom="130dp"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_margin"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:textSize="@dimen/map_button_text_size"
|
|
|
|
tools:text="13.88"/>
|
2015-12-03 18:11:05 +01:00
|
|
|
|
2015-04-23 01:10:08 +02:00
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_gravity="bottom|left">
|
|
|
|
|
|
|
|
<!-- PREPARATION SCREEN -->
|
|
|
|
|
|
|
|
<include
|
|
|
|
layout="@layout/recording_note_fragment"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
2016-07-06 16:47:42 +02:00
|
|
|
android:layout_gravity="bottom|left"/>
|
2016-06-06 17:53:18 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|left"
|
|
|
|
android:layout_marginBottom="@dimen/map_button_margin"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_margin"
|
|
|
|
android:layout_marginRight="@dimen/map_button_spacing_land"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/map_menu_button"
|
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:background="@drawable/btn_round"
|
|
|
|
android:contentDescription="@string/backToMenu"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/map_route_info_button"
|
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_spacing_land"
|
|
|
|
android:background="@drawable/btn_round"
|
|
|
|
android:contentDescription="@string/layer_route"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2017-08-17 09:55:59 +02:00
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/snap_to_road_image_button"
|
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="@drawable/btn_circle"
|
|
|
|
android:visibility="gone"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
2016-06-06 17:53:18 +02:00
|
|
|
</LinearLayout>
|
2015-04-23 01:10:08 +02:00
|
|
|
</LinearLayout>
|
2016-06-06 17:53:18 +02:00
|
|
|
</FrameLayout>
|
2015-03-15 23:56:27 +01:00
|
|
|
|
|
|
|
<FrameLayout
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_width="0dp"
|
2015-03-15 23:56:27 +01:00
|
|
|
android:layout_height="wrap_content"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginBottom="@dimen/map_button_margin"
|
2016-07-06 10:01:46 +02:00
|
|
|
android:layout_weight="1">
|
2016-06-06 17:53:18 +02:00
|
|
|
|
|
|
|
<!-- RULER -->
|
2015-04-23 01:10:08 +02:00
|
|
|
|
2015-04-15 09:21:22 +02:00
|
|
|
<FrameLayout
|
2016-06-06 17:53:18 +02:00
|
|
|
android:id="@+id/map_ruler_layout"
|
|
|
|
android:layout_width="@dimen/map_ruler_width"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom">
|
2015-04-23 01:10:08 +02:00
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
<FrameLayout
|
2015-04-23 01:10:08 +02:00
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_marginBottom="@dimen/map_ruler_bottom_margin">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/map_ruler_text_shadow"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:lineSpacingMultiplier="0.9"
|
|
|
|
android:textSize="@dimen/map_widget_text_size_small"
|
|
|
|
tools:text="100 m"/>
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:id="@+id/map_ruler_text"
|
|
|
|
android:layout_width="fill_parent"
|
|
|
|
android:layout_height="fill_parent"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:gravity="center_horizontal"
|
|
|
|
android:lineSpacingMultiplier="0.9"
|
|
|
|
android:textSize="@dimen/map_widget_text_size_small"
|
|
|
|
tools:text="100 m"/>
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
<ImageView
|
|
|
|
android:id="@+id/map_ruler_image"
|
2015-04-15 09:21:22 +02:00
|
|
|
android:layout_width="fill_parent"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_height="wrap_content"
|
2015-04-23 01:10:08 +02:00
|
|
|
android:layout_gravity="bottom"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:background="@drawable/ruler"/>
|
2015-04-23 01:10:08 +02:00
|
|
|
</FrameLayout>
|
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
<!-- TRANSPARENCY -->
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/map_transparency_layout"
|
|
|
|
android:layout_width="wrap_content"
|
2015-03-15 23:56:27 +01:00
|
|
|
android:layout_height="wrap_content"
|
2016-06-06 17:53:18 +02:00
|
|
|
android:layout_gravity="bottom|center"
|
|
|
|
android:layout_marginBottom="@dimen/map_button_size"
|
|
|
|
android:orientation="horizontal">
|
2015-03-15 23:56:27 +01:00
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
<SeekBar
|
|
|
|
android:id="@+id/map_transparency_seekbar"
|
|
|
|
android:layout_width="@dimen/map_trans_seek_size"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="center"/>
|
2015-03-15 23:50:53 +01:00
|
|
|
|
2016-06-06 17:53:18 +02: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"
|
|
|
|
android:contentDescription="@string/shared_string_hide"
|
|
|
|
android:src="@drawable/headliner_close"/>
|
|
|
|
</LinearLayout>
|
2015-03-15 23:50:53 +01:00
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
</FrameLayout>
|
2016-07-06 10:01:46 +02:00
|
|
|
|
|
|
|
<!-- RIGHT BUTTONS -->
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginBottom="@dimen/map_button_margin"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_spacing_land"
|
|
|
|
android:layout_marginRight="@dimen/map_button_margin">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/map_my_location_button"
|
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:background="@drawable/btn_circle"
|
|
|
|
android:contentDescription="@string/shared_string_my_location"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
android:layout_marginLeft="@dimen/map_button_spacing_land"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/map_zoom_in_button"
|
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:background="@drawable/btn_circle"
|
|
|
|
android:contentDescription="@string/zoomIn"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
|
|
|
|
|
|
|
<ImageButton
|
|
|
|
android:id="@+id/map_zoom_out_button"
|
|
|
|
android:layout_width="@dimen/map_button_size"
|
|
|
|
android:layout_height="@dimen/map_button_size"
|
|
|
|
android:layout_marginTop="@dimen/map_button_spacing_land"
|
|
|
|
android:background="@drawable/btn_circle"
|
|
|
|
android:contentDescription="@string/zoomOut"
|
|
|
|
tools:src="@drawable/ic_action_test_light"/>
|
|
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
2015-03-15 23:50:53 +01:00
|
|
|
|
2016-05-26 14:33:02 +02:00
|
|
|
<include
|
|
|
|
layout="@layout/move_marker_bottom_sheet"
|
2017-11-08 16:08:43 +01:00
|
|
|
android:layout_width="match_parent"
|
2016-07-06 10:01:46 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|left"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
2017-08-01 16:21:51 +02:00
|
|
|
<include
|
2017-08-03 10:54:09 +02:00
|
|
|
layout="@layout/add_gpx_point_bottom_sheet"
|
2017-11-08 16:08:43 +01:00
|
|
|
android:layout_width="match_parent"
|
2017-08-01 16:21:51 +02:00
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_gravity="bottom|left"
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
2017-08-14 11:12:53 +02:00
|
|
|
<FrameLayout
|
|
|
|
android:id="@+id/bottomFragmentContainer"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="match_parent"/>
|
|
|
|
|
2016-06-06 17:53:18 +02:00
|
|
|
</LinearLayout>
|