2019-08-07 17:45:59 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
|
|
|
xmlns:tools="http://schemas.android.com/tools">
|
|
|
|
|
|
|
|
<SwitchPreference
|
|
|
|
android:key="speak_routing_alarms"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_top_switch"
|
2019-09-04 18:06:37 +02:00
|
|
|
android:summaryOff="@string/shared_string_off"
|
|
|
|
android:summaryOn="@string/shared_string_on" />
|
2019-08-07 17:45:59 +02:00
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="voice_announces_info"
|
2019-09-08 15:20:22 +02:00
|
|
|
android:layout="@layout/preference_info"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:persistent="false"
|
2019-09-04 18:06:37 +02:00
|
|
|
android:selectable="false"
|
2019-09-08 15:20:22 +02:00
|
|
|
android:title="@string/voice_announces_info"
|
2019-08-07 17:45:59 +02:00
|
|
|
tools:icon="@drawable/ic_action_info_dark" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="speak_street_names"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speak_street_names" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="speak_traffic_warnings"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speak_traffic_warnings" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="speak_pedestrian"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speak_pedestrian" />
|
|
|
|
|
2019-09-09 17:56:41 +02:00
|
|
|
<Preference
|
|
|
|
android:layout="@layout/simple_divider_item"
|
|
|
|
android:selectable="false" />
|
|
|
|
|
2019-08-07 17:45:59 +02:00
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="speak_speed_limit"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speak_speed_limit" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="speed_limit_exceed"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_with_descr"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speed_limit_exceed" />
|
|
|
|
|
2019-09-09 17:56:41 +02:00
|
|
|
<Preference
|
|
|
|
android:layout="@layout/simple_divider_item"
|
|
|
|
android:selectable="false" />
|
|
|
|
|
2019-08-07 17:45:59 +02:00
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="speak_cameras"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speak_cameras" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="speak_tunnels"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/show_tunnels" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="announce_wpt"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/shared_string_gpx_waypoints" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="announce_nearby_favorites"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speak_favorites" />
|
|
|
|
|
|
|
|
<SwitchPreference
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="announce_nearby_poi"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_switch"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/speak_poi" />
|
|
|
|
|
2019-09-09 17:56:41 +02:00
|
|
|
<Preference
|
|
|
|
android:layout="@layout/simple_divider_item"
|
|
|
|
android:selectable="false" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="keep_informing"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_with_descr"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/keep_informing" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="arrival_distance_factor"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_with_descr"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/arrival_distance" />
|
|
|
|
|
2019-09-09 17:56:41 +02:00
|
|
|
<Preference
|
|
|
|
android:layout="@layout/simple_divider_item"
|
|
|
|
android:selectable="false" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<PreferenceCategory
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="language_and_output"
|
2019-09-08 15:20:22 +02:00
|
|
|
android:layout="@layout/preference_category_with_descr"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:title="@string/language_and_output" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-09-04 18:06:37 +02:00
|
|
|
android:dependency="speak_routing_alarms"
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="voice_provider"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:layout="@layout/preference_with_descr"
|
2019-09-04 18:06:37 +02:00
|
|
|
android:persistent="false"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:title="@string/voice_provider"
|
2019-09-04 18:06:37 +02:00
|
|
|
tools:icon="@drawable/ic_action_volume_up" />
|
2019-08-07 17:45:59 +02:00
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
</PreferenceScreen>
|