OsmAnd/OsmAnd/res/xml/navigation_settings_new.xml

66 lines
2.6 KiB
XML
Raw Normal View History

2019-08-30 14:58:36 +02:00
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
2019-09-04 18:06:37 +02:00
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:title="@string/routing_settings_2">
2019-09-04 18:06:37 +02:00
<Preference
android:key="navigation_type"
2019-09-04 18:06:37 +02:00
android:layout="@layout/preference_with_descr"
android:summary="@string/rendering_value_car_name"
android:title="@string/nav_type_hint"
2020-01-24 17:15:55 +01:00
tools:icon="@drawable/ic_action_car_dark" />
2019-12-23 15:21:24 +01:00
<Preference
android:key="route_parameters"
android:layout="@layout/preference_with_descr"
android:summary="@string/route_parameters_descr"
android:title="@string/route_parameters"
2020-05-19 15:27:41 +02:00
app:fragment="net.osmand.plus.settings.fragments.RouteParametersFragment"
2019-12-23 15:21:24 +01:00
tools:icon="@drawable/ic_action_route_distance" />
2019-09-04 18:06:37 +02:00
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
android:key="show_routing_alarms"
2019-09-17 16:04:12 +02:00
android:layout="@layout/preference_with_descr_dialog_and_switch"
2019-09-04 18:06:37 +02:00
android:summaryOff="@string/shared_string_off"
android:summaryOn="@string/shared_string_on"
android:title="@string/screen_alerts"
2020-05-19 13:13:32 +02:00
app:fragment="net.osmand.plus.settings.fragments.ScreenAlertsFragment"
2019-09-04 18:06:37 +02:00
tools:icon="@drawable/ic_action_alert" />
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
android:key="voice_mute"
2019-09-17 16:04:12 +02:00
android:layout="@layout/preference_with_descr_dialog_and_switch"
android:persistent="false"
2019-09-04 18:06:37 +02:00
android:summary="@string/voice_announces_descr"
android:title="@string/voice_announces"
2020-05-19 13:13:32 +02:00
app:fragment="net.osmand.plus.settings.fragments.VoiceAnnouncesFragment"
2019-09-04 18:06:37 +02:00
tools:icon="@drawable/ic_action_volume_up" />
<Preference
android:key="vehicle_parameters"
android:layout="@layout/preference_with_descr"
android:summary="@string/vehicle_parameters_descr"
android:title="@string/vehicle_parameters"
2020-05-19 15:27:41 +02:00
app:fragment="net.osmand.plus.settings.fragments.VehicleParametersFragment"
2020-01-24 17:15:55 +01:00
tools:icon="@drawable/ic_action_car_dark" />
2019-09-04 18:06:37 +02:00
<PreferenceCategory
android:key="other"
2019-09-08 15:20:22 +02:00
android:layout="@layout/preference_category_with_descr"
2019-09-04 18:06:37 +02:00
android:title="@string/shared_string_other" />
<Preference
android:key="map_during_navigation"
android:layout="@layout/preference_with_descr"
android:title="@string/map_during_navigation"
2020-05-19 15:27:41 +02:00
app:fragment="net.osmand.plus.settings.fragments.MapDuringNavigationFragment" />
2019-09-04 18:06:37 +02:00
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
android:key="animate_my_location"
android:layout="@layout/preference_with_descr_dialog_and_switch"
android:summaryOff="@string/shared_string_off"
android:summaryOn="@string/shared_string_on"
android:title="@string/animate_my_location" />
2019-09-04 18:06:37 +02:00
</PreferenceScreen>