129 lines
5.7 KiB
XML
129 lines
5.7 KiB
XML
|
<?xml version="1.0" encoding="utf-8"?>
|
||
|
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
|
||
|
xmlns:tools="http://schemas.android.com/tools"
|
||
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||
|
android:id="@+id/seekbar_view"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="match_parent">
|
||
|
|
||
|
<LinearLayout
|
||
|
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="vertical"
|
||
|
android:paddingLeft="@dimen/content_padding"
|
||
|
android:paddingRight="@dimen/content_padding"
|
||
|
android:paddingTop="@dimen/content_padding"
|
||
|
android:paddingBottom="@dimen/content_padding_half">
|
||
|
|
||
|
<net.osmand.plus.widgets.TextViewEx
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingStart="@dimen/content_padding_small"
|
||
|
android:paddingLeft="@dimen/content_padding_small"
|
||
|
android:text="@string/recalc_angle_dialog_title"
|
||
|
android:textColor="?android:textColorPrimary"
|
||
|
app:typeface="@string/font_roboto_medium"
|
||
|
android:textSize="@dimen/default_list_text_size_large" />
|
||
|
|
||
|
<TextView
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingTop="@dimen/content_padding_half"
|
||
|
android:paddingStart="@dimen/content_padding_small"
|
||
|
android:paddingLeft="@dimen/content_padding_small"
|
||
|
android:paddingBottom="@dimen/content_padding"
|
||
|
android:text="@string/recalc_angle_dialog_descr"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="@dimen/default_list_text_size" />
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/angle_header"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/angle_title"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="2"
|
||
|
android:paddingStart="@dimen/content_padding_small"
|
||
|
android:paddingLeft="@dimen/content_padding_small"
|
||
|
android:textColor="?android:textColorPrimary"
|
||
|
android:textSize="@dimen/default_list_text_size"
|
||
|
tools:text="@string/shared_string_angle" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/angle_text"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="end"
|
||
|
android:maxLength="4"
|
||
|
android:maxLines="1"
|
||
|
android:paddingRight="4dp"
|
||
|
android:textColor="?android:textColorPrimary"
|
||
|
android:textSize="@dimen/default_list_text_size"
|
||
|
tools:text="60" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/angle_units"
|
||
|
android:layout_width="wrap_content"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:paddingEnd="@dimen/content_padding_small"
|
||
|
android:paddingRight="@dimen/content_padding_small"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="@dimen/default_list_text_size"
|
||
|
tools:text="°" />
|
||
|
</LinearLayout>
|
||
|
|
||
|
<LinearLayout
|
||
|
android:id="@+id/angle_seekbar_lane"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:orientation="horizontal"
|
||
|
android:paddingTop="@dimen/content_padding">
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/angle_seekbar_min_text"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="start"
|
||
|
android:paddingStart="@dimen/content_padding_small"
|
||
|
android:paddingLeft="@dimen/content_padding_small"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="@dimen/default_list_text_size"
|
||
|
android:text="0°" />
|
||
|
|
||
|
<TextView
|
||
|
android:id="@+id/angle_seekbar_max_text"
|
||
|
android:layout_width="0dp"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:layout_weight="1"
|
||
|
android:gravity="end"
|
||
|
android:paddingEnd="@dimen/content_padding_small"
|
||
|
android:paddingRight="@dimen/content_padding_small"
|
||
|
android:textColor="?android:textColorSecondary"
|
||
|
android:textSize="@dimen/default_list_text_size"
|
||
|
android:text="90°" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
<SeekBar
|
||
|
android:id="@+id/angle_seekbar"
|
||
|
android:layout_width="match_parent"
|
||
|
android:layout_height="wrap_content"
|
||
|
android:max="90"
|
||
|
android:paddingBottom="@dimen/content_padding" />
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</LinearLayout>
|
||
|
|
||
|
</ScrollView>
|