OsmAnd/OsmAnd/res/xml/global_settings.xml

62 lines
2.4 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/osmand_settings">
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" />
<Preference
android:key="external_storage_dir"
android:layout="@layout/preference_with_descr"
android:persistent="false"
android:title="@string/application_dir"
2019-10-07 14:30:26 +02:00
app:fragment="net.osmand.plus.settings.DataStorageFragment"
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"
2019-09-26 12:27:44 +02:00
android:layout="@layout/preference_with_descr_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" />
<SwitchPreferenceCompat
2019-08-30 14:58:36 +02:00
android:icon="@drawable/ic_action_notification"
android:key="do_not_show_startup_messages"
2019-09-26 12:27:44 +02:00
android:layout="@layout/preference_switch_with_descr"
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"
2019-09-26 12:27:44 +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"
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>