2019-07-08 11:04:07 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:osmand="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:background="?attr/bg_color"
|
|
|
|
android:orientation="vertical">
|
2019-11-09 10:37:48 +01:00
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:padding="@dimen/content_padding"
|
|
|
|
android:text="@string/track_saved"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_list_text_size"
|
|
|
|
osmand:typeface="@string/font_roboto_medium" />
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.OsmandTextFieldBoxes
|
|
|
|
android:id="@+id/name_text_box"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
android:paddingLeft="@dimen/content_padding"
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
android:paddingRight="@dimen/content_padding"
|
|
|
|
android:paddingBottom="@dimen/content_padding_small"
|
|
|
|
osmand:hasClearButton="true"
|
|
|
|
osmand:labelText="@string/gpx_file_name">
|
|
|
|
|
|
|
|
<studio.carbonylgroup.textfieldboxes.ExtendedEditText
|
|
|
|
android:id="@+id/name_edit_text"
|
2019-07-08 11:04:07 +02:00
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-09 10:37:48 +01:00
|
|
|
android:imeOptions="actionDone"
|
|
|
|
android:inputType="text"
|
|
|
|
android:maxLines="1" />
|
|
|
|
|
|
|
|
</net.osmand.plus.widgets.OsmandTextFieldBoxes>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal">
|
|
|
|
|
|
|
|
<TextView
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
2019-07-08 11:04:07 +02:00
|
|
|
android:padding="@dimen/content_padding"
|
2019-11-09 10:37:48 +01:00
|
|
|
android:text="@string/shared_string_show_on_map"
|
2019-07-08 11:04:07 +02:00
|
|
|
android:textColor="?android:textColorPrimary"
|
2019-11-09 10:37:48 +01:00
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
2020-03-04 15:12:06 +01:00
|
|
|
<androidx.appcompat.widget.SwitchCompat
|
2019-11-09 10:37:48 +01:00
|
|
|
android:id="@+id/btn_show_on_map"
|
|
|
|
android:layout_width="wrap_content"
|
|
|
|
android:layout_height="match_parent"
|
|
|
|
android:checked="true"
|
|
|
|
android:padding="@dimen/content_padding" />
|
2019-07-08 11:04:07 +02:00
|
|
|
|
2019-11-09 10:37:48 +01:00
|
|
|
</LinearLayout>
|
2019-07-08 11:04:07 +02:00
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
2019-11-09 10:37:48 +01:00
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingLeft="@dimen/content_padding"
|
|
|
|
android:paddingTop="@dimen/content_padding_small"
|
|
|
|
android:paddingRight="@dimen/content_padding"
|
2020-02-24 15:17:23 +01:00
|
|
|
android:paddingBottom="@dimen/content_padding_small"
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
android:paddingStart="@dimen/content_padding">
|
2019-07-08 11:04:07 +02:00
|
|
|
|
2019-11-09 10:37:48 +01:00
|
|
|
<include
|
2019-07-08 11:04:07 +02:00
|
|
|
android:id="@+id/open_track_button"
|
2019-11-09 10:37:48 +01:00
|
|
|
layout="@layout/bottom_sheet_dialog_button" />
|
|
|
|
|
|
|
|
<View
|
|
|
|
android:id="@+id/buttons_divider"
|
|
|
|
android:layout_width="@dimen/content_padding"
|
|
|
|
android:layout_height="match_parent" />
|
|
|
|
|
|
|
|
<include
|
|
|
|
android:id="@+id/close_button"
|
|
|
|
layout="@layout/bottom_sheet_dialog_button" />
|
2019-07-08 11:04:07 +02:00
|
|
|
|
|
|
|
</LinearLayout>
|
2019-11-09 10:37:48 +01:00
|
|
|
|
2019-07-08 11:04:07 +02:00
|
|
|
</LinearLayout>
|