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">
|
2019-08-30 14:58:36 +02:00
|
|
|
|
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
|
|
|
android:icon="@drawable/ic_world_globe_dark"
|
|
|
|
android:key="default_application_mode_string"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/settings_preset" />
|
|
|
|
|
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
|
|
|
android:icon="@drawable/ic_action_map_language"
|
|
|
|
android:key="preferred_locale"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/preferred_locale" />
|
|
|
|
|
2019-09-09 10:46:12 +02:00
|
|
|
<Preference
|
|
|
|
android:key="external_storage_dir"
|
2019-09-10 10:23:30 +02:00
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:persistent="false"
|
2019-09-09 10:46:12 +02:00
|
|
|
android:title="@string/application_dir"
|
|
|
|
tools:icon="@drawable/ic_action_folder" />
|
2019-08-30 14:58:36 +02:00
|
|
|
|
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
|
|
|
|
android:key="privacy_and_security"
|
2019-09-08 15:20:22 +02:00
|
|
|
android:layout="@layout/preference_category_with_descr"
|
2019-09-09 17:56:41 +02:00
|
|
|
android:title="@string/settings_privacy_and_security" />
|
2019-08-30 14:58:36 +02:00
|
|
|
|
|
|
|
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
|
|
|
|
android:icon="@drawable/ic_action_privacy_and_security"
|
|
|
|
android:key="send_anonymous_data"
|
|
|
|
android:layout="@layout/preference_dialog_and_switch"
|
2019-09-05 17:50:37 +02:00
|
|
|
android:persistent="false"
|
2019-09-04 18:06:37 +02:00
|
|
|
android:summaryOff="@string/shared_string_off"
|
|
|
|
android:summaryOn="@string/shared_string_on"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:title="@string/analytics_pref_title" />
|
|
|
|
|
2019-09-20 14:39:19 +02:00
|
|
|
<SwitchPreferenceCompat
|
2019-08-30 14:58:36 +02:00
|
|
|
android:icon="@drawable/ic_action_notification"
|
|
|
|
android:key="do_not_show_startup_messages"
|
|
|
|
android:layout="@layout/preference_switch"
|
2019-09-04 18:06:37 +02:00
|
|
|
android:summaryOff="@string/shared_string_off"
|
|
|
|
android:summaryOn="@string/shared_string_on"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:title="@string/start_up_message_pref" />
|
|
|
|
|
|
|
|
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
|
|
|
|
android:key="enable_proxy"
|
|
|
|
android:layout="@layout/preference_dialog_and_switch"
|
2019-09-04 18:06:37 +02:00
|
|
|
android:summaryOff="@string/shared_string_off"
|
|
|
|
android:summaryOn="@string/shared_string_on"
|
2019-08-30 14:58:36 +02:00
|
|
|
android:title="@string/proxy_pref_title"
|
|
|
|
app:fragment="net.osmand.plus.settings.ProxySettingsFragment"
|
|
|
|
tools:icon="@drawable/ic_action_proxy" />
|
|
|
|
|
|
|
|
</PreferenceScreen>
|