2020-07-13 18:17:34 +02:00
|
|
|
<?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:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
2020-07-16 15:37:46 +02:00
|
|
|
<View
|
|
|
|
android:id="@+id/top_divider"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="1dp"
|
|
|
|
android:background="?attr/divider_color_basic"
|
|
|
|
android:focusable="false" />
|
|
|
|
|
2020-07-13 18:17:34 +02:00
|
|
|
<include
|
|
|
|
android:id="@+id/header_view"
|
|
|
|
layout="@layout/bottom_sheet_item_with_right_descr" />
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingTop="@dimen/context_menu_padding_margin_tiny"
|
|
|
|
android:paddingBottom="@dimen/content_padding">
|
|
|
|
|
|
|
|
<androidx.recyclerview.widget.RecyclerView
|
|
|
|
android:id="@+id/recycler_view"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:clipToPadding="false"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="@dimen/content_padding_half"
|
|
|
|
android:paddingLeft="@dimen/content_padding_half"
|
|
|
|
android:paddingEnd="@dimen/content_padding"
|
|
|
|
android:paddingRight="@dimen/content_padding"
|
|
|
|
tools:itemCount="3"
|
|
|
|
tools:layoutManager="androidx.recyclerview.widget.LinearLayoutManager"
|
|
|
|
tools:listitem="@layout/point_editor_group_select_item"
|
|
|
|
tools:orientation="horizontal" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:id="@+id/slider_container"
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="vertical">
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
android:paddingTop="@dimen/content_padding"
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="start"
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
android:text="@string/shared_string_custom"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/width_value_tv"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:gravity="end"
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
android:textColor="?android:textColorPrimary"
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="match_parent"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="center_vertical"
|
|
|
|
android:orientation="horizontal"
|
|
|
|
android:paddingStart="@dimen/content_padding"
|
|
|
|
android:paddingEnd="@dimen/content_padding">
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/width_value_min"
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="start"
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
<com.google.android.material.slider.Slider
|
|
|
|
android:id="@+id/width_slider"
|
|
|
|
android:layout_width="0dp"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:layout_marginLeft="@dimen/content_padding"
|
|
|
|
android:layout_marginRight="@dimen/content_padding"
|
|
|
|
android:layout_weight="1"
|
|
|
|
android:stepSize="1" />
|
|
|
|
|
|
|
|
<net.osmand.plus.widgets.TextViewEx
|
|
|
|
android:id="@+id/width_value_max"
|
|
|
|
android:layout_width="@dimen/standard_icon_size"
|
|
|
|
android:layout_height="wrap_content"
|
|
|
|
android:gravity="end"
|
|
|
|
android:lineSpacingExtra="@dimen/line_spacing_extra_description"
|
|
|
|
android:textColor="?android:textColorSecondary"
|
|
|
|
android:textSize="@dimen/default_list_text_size" />
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
|
|
</LinearLayout>
|