OsmAnd/OsmAnd/res/xml/global_settings.xml

75 lines
2.8 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"
2020-05-19 15:27:41 +02:00
app:fragment="net.osmand.plus.settings.fragments.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" />
<Preference
android:key="dialogs_and_notifications"
android:layout="@layout/preference_with_descr"
android:persistent="false"
android:title="@string/dialogs_and_notifications_title"
android:summary="@string/shared_string_all"
2020-05-19 15:27:41 +02:00
app:fragment="net.osmand.plus.settings.fragments.DialogsAndNotificationsSettingsFragment"
tools:icon="@drawable/ic_action_notification" />
2019-08-30 14:58:36 +02:00
<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"
2020-05-19 13:13:32 +02:00
app:fragment="net.osmand.plus.settings.fragments.ProxySettingsFragment"
2019-08-30 14:58:36 +02:00
tools:icon="@drawable/ic_action_proxy" />
2020-06-05 17:22:15 +02:00
<PreferenceCategory
android:key="legal"
android:layout="@layout/preference_category_with_descr"
android:title="@string/shared_string_legal" />
<Preference
2020-06-16 17:28:35 +02:00
android:key="speed_cameras_uninstalled"
android:persistent="false"
2020-06-05 17:22:15 +02:00
android:layout="@layout/preference_with_descr"
tools:title="@string/uninstall_speed_cameras"
2020-06-05 17:22:15 +02:00
tools:icon="@drawable/ic_speed_camera_disabled" />
2019-08-30 14:58:36 +02:00
</PreferenceScreen>