OsmAnd/OsmAnd/res/layout/default_speed_dialog.xml

102 lines
3.4 KiB
XML
Raw Normal View History

2019-06-25 12:41:49 +02:00
<?xml version="1.0" encoding="utf-8"?>
2019-06-25 22:35:43 +02:00
<ScrollView xmlns:android="http://schemas.android.com/apk/res/android"
2019-06-25 12:41:49 +02:00
xmlns:tools="http://schemas.android.com/tools"
2019-06-25 22:35:43 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
2019-06-25 12:41:49 +02:00
android:id="@+id/seekbar_view"
android:layout_width="match_parent"
2019-06-25 22:35:43 +02:00
android:layout_height="match_parent">
2019-06-25 12:41:49 +02:00
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
2019-06-25 22:35:43 +02:00
android:orientation="vertical">
2019-06-25 12:41:49 +02:00
2019-06-25 22:35:43 +02:00
<LinearLayout
android:layout_width="match_parent"
2019-06-25 12:41:49 +02:00
android:layout_height="wrap_content"
2019-06-25 22:35:43 +02:00
android:orientation="vertical"
android:paddingLeft="@dimen/content_padding"
2019-06-27 13:08:19 +02:00
android:paddingRight="@dimen/content_padding"
2019-06-25 22:35:43 +02:00
android:paddingTop="@dimen/content_padding"
2020-02-24 15:17:23 +01:00
android:paddingBottom="@dimen/content_padding_half"
android:paddingStart="@dimen/content_padding"
android:paddingEnd="@dimen/content_padding">
2019-06-25 12:41:49 +02:00
2019-06-25 22:35:43 +02:00
<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"
2019-06-27 13:08:19 +02:00
android:text="@string/default_speed_setting_title"
2019-06-25 22:35:43 +02:00
android:textColor="?android:textColorPrimary"
app:typeface="@string/font_roboto_medium"
android:textSize="@dimen/default_list_text_size_large" />
2019-06-25 12:41:49 +02:00
2019-06-25 22:35:43 +02:00
<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"
2019-06-27 13:08:19 +02:00
android:paddingBottom="@dimen/content_padding"
2019-06-25 22:35:43 +02:00
android:text="@string/default_speed_dialog_msg"
android:textColor="?android:textColorSecondary"
android:textSize="@dimen/default_list_text_size" />
2019-06-27 13:08:19 +02:00
<include
android:id="@+id/min_speed_layout"
layout="@layout/adjust_speed_slider" />
2019-06-25 22:35:43 +02:00
</LinearLayout>
<View
2019-09-29 16:22:24 +02:00
android:id="@+id/default_speed_div"
2019-06-25 22:35:43 +02:00
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider" />
<LinearLayout
2019-09-29 16:22:24 +02:00
android:id="@+id/default_speed_container"
2019-06-25 22:35:43 +02:00
android:layout_width="match_parent"
2019-06-25 12:41:49 +02:00
android:layout_height="wrap_content"
2019-06-25 22:35:43 +02:00
android:orientation="vertical"
android:paddingLeft="@dimen/content_padding"
2019-06-27 13:08:19 +02:00
android:paddingRight="@dimen/content_padding"
2019-06-25 22:35:43 +02:00
android:paddingTop="@dimen/content_padding"
2020-02-24 15:17:23 +01:00
android:paddingBottom="@dimen/content_padding_half"
android:paddingEnd="@dimen/content_padding"
android:paddingStart="@dimen/content_padding">
2019-06-27 13:08:19 +02:00
<include
android:id="@+id/default_speed_layout"
layout="@layout/adjust_speed_slider" />
</LinearLayout>
<View
2019-09-29 16:22:24 +02:00
android:id="@+id/max_speed_div"
2019-06-27 13:08:19 +02:00
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="?attr/dashboard_divider" />
<LinearLayout
2019-09-29 16:22:24 +02:00
android:id="@+id/max_speed_container"
2019-06-27 13:08:19 +02:00
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingLeft="@dimen/content_padding"
2019-06-25 22:35:43 +02:00
android:paddingRight="@dimen/content_padding"
2019-06-27 13:08:19 +02:00
android:paddingTop="@dimen/content_padding"
2020-02-24 15:17:23 +01:00
android:paddingBottom="@dimen/content_padding_half"
android:paddingEnd="@dimen/content_padding"
android:paddingStart="@dimen/content_padding">
2019-06-25 12:41:49 +02:00
2019-06-27 13:08:19 +02:00
<include
android:id="@+id/max_speed_layout"
layout="@layout/adjust_speed_slider" />
2019-06-25 22:35:43 +02:00
</LinearLayout>
</LinearLayout>
2019-06-25 12:41:49 +02:00
2019-06-25 22:35:43 +02:00
</ScrollView>