2017-07-28 16:39:32 +02:00
|
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
|
<FrameLayout
|
|
|
|
|
xmlns:android="http://schemas.android.com/apk/res/android"
|
2017-08-11 13:35:24 +02:00
|
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="@color/color_transparent"
|
|
|
|
|
android:clickable="true">
|
|
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/main_view"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="bottom"
|
|
|
|
|
android:background="@drawable/bg_bottom_menu_dark"
|
|
|
|
|
android:clickable="true"
|
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
2017-08-17 10:35:47 +02:00
|
|
|
|
<ProgressBar
|
|
|
|
|
android:id="@+id/snap_to_road_progress_bar"
|
|
|
|
|
style="?android:attr/progressBarStyleHorizontal"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:minHeight="0dp"
|
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:visibility="visible"/>
|
|
|
|
|
|
2017-07-28 16:39:32 +02:00
|
|
|
|
<RelativeLayout
|
2017-08-08 12:33:41 +02:00
|
|
|
|
android:id="@+id/up_down_row"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:layout_width="match_parent"
|
2017-09-25 18:48:55 +02:00
|
|
|
|
android:layout_height="@dimen/measurement_tool_up_down_row_height"
|
|
|
|
|
android:background="?attr/selectableItemBackground">
|
2017-07-28 16:39:32 +02:00
|
|
|
|
|
2017-08-02 11:23:27 +02:00
|
|
|
|
<ImageView
|
2017-08-16 17:35:41 +02:00
|
|
|
|
android:id="@+id/main_icon"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentLeft="true"
|
|
|
|
|
android:layout_alignParentStart="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
2017-09-06 17:34:57 +02:00
|
|
|
|
android:layout_marginEnd="@dimen/bottom_sheet_content_margin"
|
|
|
|
|
android:layout_marginLeft="@dimen/bottom_sheet_content_margin"
|
|
|
|
|
android:layout_marginRight="@dimen/bottom_sheet_content_margin"
|
|
|
|
|
android:layout_marginStart="@dimen/bottom_sheet_content_margin"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:background="@null"
|
|
|
|
|
tools:src="@drawable/ic_action_ruler"/>
|
|
|
|
|
|
2017-08-08 12:33:41 +02:00
|
|
|
|
<ImageView
|
2017-08-02 11:23:27 +02:00
|
|
|
|
android:id="@+id/up_down_button"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
2017-09-06 17:34:57 +02:00
|
|
|
|
android:layout_marginEnd="@dimen/bottom_sheet_content_margin"
|
|
|
|
|
android:layout_marginLeft="@dimen/bottom_sheet_content_margin"
|
|
|
|
|
android:layout_marginRight="@dimen/bottom_sheet_content_margin"
|
|
|
|
|
android:layout_marginStart="@dimen/bottom_sheet_content_margin"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:background="@null"
|
|
|
|
|
tools:src="@drawable/ic_action_arrow_down"/>
|
|
|
|
|
|
|
|
|
|
<TextView
|
2017-08-01 12:15:11 +02:00
|
|
|
|
android:id="@+id/measurement_distance_text_view"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
2017-10-19 10:41:55 +02:00
|
|
|
|
android:layout_marginEnd="@dimen/text_margin_small"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginLeft="@dimen/measurement_tool_text_margin"
|
2017-10-19 10:41:55 +02:00
|
|
|
|
android:layout_marginRight="@dimen/text_margin_small"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginStart="@dimen/measurement_tool_text_margin"
|
2017-08-16 17:35:41 +02:00
|
|
|
|
android:layout_toEndOf="@id/main_icon"
|
|
|
|
|
android:layout_toRightOf="@id/main_icon"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:textAppearance="@style/TextAppearance.ListItemTitle"
|
2017-08-01 12:15:11 +02:00
|
|
|
|
tools:text="724 m,"/>
|
2017-07-28 16:39:32 +02:00
|
|
|
|
|
|
|
|
|
<TextView
|
2017-08-01 12:15:11 +02:00
|
|
|
|
android:id="@+id/measurement_points_text_view"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
2017-08-01 12:15:11 +02:00
|
|
|
|
android:layout_toEndOf="@id/measurement_distance_text_view"
|
|
|
|
|
android:layout_toRightOf="@id/measurement_distance_text_view"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:textColor="?android:textColorSecondary"
|
2017-07-31 17:13:29 +02:00
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
2017-08-01 12:15:11 +02:00
|
|
|
|
tools:text="points: 3"/>
|
2017-08-09 17:34:34 +02:00
|
|
|
|
|
2017-08-17 14:04:40 +02:00
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/distance_to_center_text_view"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
|
|
|
|
android:layout_toEndOf="@id/measurement_points_text_view"
|
|
|
|
|
android:layout_toLeftOf="@id/up_down_button"
|
|
|
|
|
android:layout_toRightOf="@id/measurement_points_text_view"
|
|
|
|
|
android:layout_toStartOf="@id/up_down_button"
|
2017-09-03 20:32:45 +02:00
|
|
|
|
android:textColor="@color/color_distance"
|
2017-08-17 14:04:40 +02:00
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
|
tools:text=" – 700 m"/>
|
|
|
|
|
|
2017-08-09 17:34:34 +02:00
|
|
|
|
<TextView
|
|
|
|
|
android:id="@+id/move_point_text"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
2017-10-19 10:41:55 +02:00
|
|
|
|
android:layout_marginEnd="@dimen/text_margin_small"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginLeft="@dimen/measurement_tool_text_margin"
|
2017-10-19 10:41:55 +02:00
|
|
|
|
android:layout_marginRight="@dimen/text_margin_small"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginStart="@dimen/measurement_tool_text_margin"
|
2017-08-16 17:35:41 +02:00
|
|
|
|
android:layout_toEndOf="@id/main_icon"
|
|
|
|
|
android:layout_toRightOf="@id/main_icon"
|
2017-08-09 17:34:34 +02:00
|
|
|
|
android:text="@string/move_point"
|
2017-08-11 13:35:24 +02:00
|
|
|
|
android:textAppearance="@style/TextAppearance.ListItemTitle"
|
2017-08-09 17:34:34 +02:00
|
|
|
|
android:visibility="gone"/>
|
2017-08-14 17:55:09 +02:00
|
|
|
|
|
|
|
|
|
<TextView
|
2017-08-25 16:50:38 +02:00
|
|
|
|
android:id="@+id/add_point_before_after_text"
|
2017-08-14 17:55:09 +02:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_centerVertical="true"
|
2017-10-19 10:41:55 +02:00
|
|
|
|
android:layout_marginEnd="@dimen/text_margin_small"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginLeft="@dimen/measurement_tool_text_margin"
|
2017-10-19 10:41:55 +02:00
|
|
|
|
android:layout_marginRight="@dimen/text_margin_small"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginStart="@dimen/measurement_tool_text_margin"
|
2017-08-16 17:35:41 +02:00
|
|
|
|
android:layout_toEndOf="@id/main_icon"
|
|
|
|
|
android:layout_toRightOf="@id/main_icon"
|
2017-08-14 17:55:09 +02:00
|
|
|
|
android:textAppearance="@style/TextAppearance.ListItemTitle"
|
2017-09-25 18:48:55 +02:00
|
|
|
|
android:visibility="gone"
|
|
|
|
|
tools:text="@string/add_point_after"/>
|
2017-07-28 16:39:32 +02:00
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="1dp"
|
|
|
|
|
android:background="?attr/dashboard_divider"/>
|
|
|
|
|
|
2017-08-07 13:59:18 +02:00
|
|
|
|
<FrameLayout
|
2017-08-03 17:59:55 +02:00
|
|
|
|
android:id="@+id/points_list_container"
|
|
|
|
|
android:layout_width="match_parent"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_height="@dimen/measurement_tool_points_list_container_height"
|
2017-08-03 17:59:55 +02:00
|
|
|
|
android:background="@color/ctx_menu_info_view_bg_dark"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
2017-08-08 11:49:47 +02:00
|
|
|
|
<android.support.v7.widget.RecyclerView
|
|
|
|
|
android:id="@+id/measure_points_recycler_view"
|
2017-08-03 17:59:55 +02:00
|
|
|
|
android:layout_width="match_parent"
|
2017-08-07 13:59:18 +02:00
|
|
|
|
android:layout_height="match_parent"/>
|
2017-08-03 17:59:55 +02:00
|
|
|
|
|
2017-08-09 14:34:00 +02:00
|
|
|
|
<include layout="@layout/card_bottom_divider"/>
|
|
|
|
|
|
2017-08-03 17:59:55 +02:00
|
|
|
|
<ImageView
|
|
|
|
|
android:layout_width="match_parent"
|
2017-08-07 13:59:18 +02:00
|
|
|
|
android:layout_height="5dp"
|
|
|
|
|
android:layout_gravity="bottom"
|
2017-08-07 17:07:46 +02:00
|
|
|
|
android:alpha="0.5"
|
2017-08-03 17:59:55 +02:00
|
|
|
|
android:scaleType="fitXY"
|
|
|
|
|
android:src="@drawable/bg_shadow_onmap"/>
|
2017-08-07 13:59:18 +02:00
|
|
|
|
</FrameLayout>
|
2017-08-03 17:59:55 +02:00
|
|
|
|
|
2017-08-11 16:35:36 +02:00
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/measure_mode_controls"
|
2017-07-28 16:39:32 +02:00
|
|
|
|
android:layout_width="match_parent"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_height="@dimen/measurement_tool_controls_height">
|
2017-07-28 16:39:32 +02:00
|
|
|
|
|
2017-08-11 16:35:36 +02:00
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="0dp"
|
2017-08-11 13:35:24 +02:00
|
|
|
|
android:layout_height="match_parent"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/options_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-08-16 13:16:40 +02:00
|
|
|
|
android:ellipsize="end"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:maxLines="1"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:paddingEnd="@dimen/measurement_tool_text_button_padding_small"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_text_button_padding"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_text_button_padding_small"
|
|
|
|
|
android:paddingStart="@dimen/measurement_tool_text_button_padding"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:text="@string/shared_string_options"
|
|
|
|
|
android:textColor="?attr/color_dialog_buttons"
|
|
|
|
|
osmand:textAllCapsCompat="true"
|
|
|
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
|
|
|
</FrameLayout>
|
2017-07-28 16:39:32 +02:00
|
|
|
|
|
2017-08-15 12:40:29 +02:00
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/undo_point_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_height="match_parent"
|
2017-08-15 12:40:29 +02:00
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:paddingEnd="@dimen/measurement_tool_undo_redo_padding_small"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_undo_redo_padding"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_undo_redo_padding_small"
|
|
|
|
|
android:paddingStart="@dimen/measurement_tool_undo_redo_padding"
|
2017-08-15 12:40:29 +02:00
|
|
|
|
tools:src="@drawable/ic_action_undo_dark"/>
|
2017-08-11 13:35:24 +02:00
|
|
|
|
|
2017-08-15 12:40:29 +02:00
|
|
|
|
<ImageButton
|
|
|
|
|
android:id="@+id/redo_point_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_height="match_parent"
|
2017-08-15 12:40:29 +02:00
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:paddingEnd="@dimen/measurement_tool_undo_redo_padding"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_undo_redo_padding_small"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_undo_redo_padding"
|
|
|
|
|
android:paddingStart="@dimen/measurement_tool_undo_redo_padding_small"
|
2017-08-15 12:40:29 +02:00
|
|
|
|
tools:src="@drawable/ic_action_redo_dark"/>
|
2017-07-28 16:39:32 +02:00
|
|
|
|
|
2017-08-11 16:35:36 +02:00
|
|
|
|
<FrameLayout
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1">
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/add_point_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_gravity="end"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginBottom="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginEnd="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginRight="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginTop="@dimen/measurement_tool_button_margin"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:background="@drawable/btn_round_blue"
|
|
|
|
|
android:drawableLeft="@drawable/ic_action_plus"
|
2017-08-16 13:16:40 +02:00
|
|
|
|
android:ellipsize="end"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:maxLines="1"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:minHeight="@dimen/measurement_tool_button_height"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_button_padding"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_button_padding"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:text="@string/shared_string_add"
|
|
|
|
|
android:textColor="@color/color_white"/>
|
|
|
|
|
</FrameLayout>
|
|
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
<RelativeLayout
|
2017-08-17 16:49:35 +02:00
|
|
|
|
android:id="@+id/move_point_controls"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:layout_width="match_parent"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_height="@dimen/measurement_tool_controls_height"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:visibility="gone">
|
2017-08-09 17:34:34 +02:00
|
|
|
|
|
|
|
|
|
<Button
|
2017-08-17 16:49:35 +02:00
|
|
|
|
android:id="@+id/apply_move_point_button"
|
2017-08-09 17:34:34 +02:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
|
android:layout_alignParentEnd="true"
|
|
|
|
|
android:layout_alignParentRight="true"
|
|
|
|
|
android:layout_centerVertical="true"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginBottom="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginEnd="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginRight="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginTop="@dimen/measurement_tool_button_margin"
|
2017-08-09 17:34:34 +02:00
|
|
|
|
android:background="@drawable/btn_round_blue"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:minHeight="@dimen/measurement_tool_button_height"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_button_padding"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_button_padding"
|
2017-08-09 17:34:34 +02:00
|
|
|
|
android:text="@string/shared_string_apply"
|
2017-08-11 16:35:36 +02:00
|
|
|
|
android:textColor="@color/color_white"/>
|
2017-08-09 17:34:34 +02:00
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
2017-08-17 16:49:35 +02:00
|
|
|
|
android:id="@+id/cancel_move_point_button"
|
2017-08-09 17:34:34 +02:00
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
2017-08-11 13:35:24 +02:00
|
|
|
|
android:gravity="center_vertical"
|
2017-08-09 17:34:34 +02:00
|
|
|
|
android:paddingEnd="12dp"
|
|
|
|
|
android:paddingLeft="16dp"
|
|
|
|
|
android:paddingRight="12dp"
|
|
|
|
|
android:paddingStart="16dp"
|
|
|
|
|
android:text="@string/shared_string_cancel"
|
|
|
|
|
android:textColor="?attr/color_dialog_buttons"
|
|
|
|
|
osmand:textAllCapsCompat="true"
|
2017-08-11 13:35:24 +02:00
|
|
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
2017-07-28 16:39:32 +02:00
|
|
|
|
</RelativeLayout>
|
|
|
|
|
|
2017-08-17 16:49:35 +02:00
|
|
|
|
<LinearLayout
|
|
|
|
|
android:id="@+id/add_point_before_after_controls"
|
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
|
android:layout_height="52dp"
|
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
|
android:orientation="horizontal"
|
|
|
|
|
android:visibility="gone">
|
|
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
|
android:id="@+id/cancel_point_before_after_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:background="?attr/selectableItemBackground"
|
|
|
|
|
android:gravity="center_vertical"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:paddingEnd="@dimen/measurement_tool_text_button_padding_small"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_text_button_padding"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_text_button_padding_small"
|
|
|
|
|
android:paddingStart="@dimen/measurement_tool_text_button_padding"
|
2017-08-17 16:49:35 +02:00
|
|
|
|
android:text="@string/shared_string_cancel"
|
|
|
|
|
android:textColor="?attr/color_dialog_buttons"
|
|
|
|
|
osmand:textAllCapsCompat="true"
|
|
|
|
|
osmand:typeface="@string/font_roboto_medium"/>
|
|
|
|
|
|
|
|
|
|
<View
|
|
|
|
|
android:layout_width="0dp"
|
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
|
android:layout_weight="1"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/apply_point_before_after_point_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginBottom="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginEnd="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginRight="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginTop="@dimen/measurement_tool_button_margin"
|
2017-08-18 10:22:57 +02:00
|
|
|
|
android:background="?attr/btn_round_border"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:minHeight="@dimen/measurement_tool_button_height"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_button_padding"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_button_padding"
|
2017-08-17 16:49:35 +02:00
|
|
|
|
android:text="@string/shared_string_apply"
|
|
|
|
|
android:textColor="?attr/color_dialog_buttons"/>
|
|
|
|
|
|
|
|
|
|
<Button
|
|
|
|
|
android:id="@+id/add_point_before_after_button"
|
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
|
android:layout_height="wrap_content"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:layout_marginBottom="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginEnd="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginRight="@dimen/measurement_tool_button_margin"
|
|
|
|
|
android:layout_marginTop="@dimen/measurement_tool_button_margin"
|
2017-08-17 16:49:35 +02:00
|
|
|
|
android:background="@drawable/btn_round_blue"
|
|
|
|
|
android:drawableLeft="@drawable/ic_action_plus"
|
2017-08-28 11:36:54 +02:00
|
|
|
|
android:minHeight="@dimen/measurement_tool_button_height"
|
|
|
|
|
android:paddingLeft="@dimen/measurement_tool_button_padding"
|
|
|
|
|
android:paddingRight="@dimen/measurement_tool_button_padding"
|
2017-08-17 16:49:35 +02:00
|
|
|
|
android:text="@string/shared_string_add"
|
|
|
|
|
android:textColor="@color/color_white"/>
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
2017-07-28 16:39:32 +02:00
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
|
|
</FrameLayout>
|