2019-08-07 17:45:59 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2019-09-02 17:41:56 +02:00
|
|
|
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
|
2019-10-01 09:35:08 +02:00
|
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
|
|
android:title="@string/general_settings_2">
|
2019-08-07 17:45:59 +02:00
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<PreferenceCategory
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="appearance_category"
|
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/appearance" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="osmand_theme"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/choose_osmand_theme" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="rotate_map"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/rotate_map_to_bearing" />
|
|
|
|
|
2019-10-23 13:10:59 +02:00
|
|
|
<SwitchPreferenceCompat
|
|
|
|
android:key="center_position_on_map"
|
|
|
|
android:layout="@layout/preference_switch_with_descr"
|
|
|
|
android:summaryOff="@string/shared_string_off"
|
|
|
|
android:summaryOn="@string/shared_string_on"
|
|
|
|
android:title="@string/always_center_position_on_map" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="map_screen_orientation"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/map_screen_orientation" />
|
|
|
|
|
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="units_and_formats"
|
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/units_and_formats" />
|
|
|
|
|
|
|
|
<Preference
|
|
|
|
android:key="default_driving_region"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/driving_region" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="default_metric_system"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/unit_of_length" />
|
|
|
|
|
2019-09-02 17:41:56 +02:00
|
|
|
<Preference
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="coordinates_format"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
2019-09-02 17:41:56 +02:00
|
|
|
android:title="@string/coords_format"
|
|
|
|
app:fragment="net.osmand.plus.settings.CoordinatesFormatFragment" />
|
2019-08-07 17:45:59 +02:00
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-08-07 17:45:59 +02:00
|
|
|
android:key="angular_measurement"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/angular_measeurement" />
|
|
|
|
|
2019-10-16 16:14:37 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
|
|
|
android:key="default_speed_system"
|
|
|
|
android:layout="@layout/preference_with_descr"
|
|
|
|
android:title="@string/default_speed_system" />
|
|
|
|
|
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="other"
|
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/shared_string_other" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
|
2019-08-08 14:57:43 +02:00
|
|
|
android:key="use_kalman_filter_compass"
|
2019-09-10 10:23:30 +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-08 14:57:43 +02:00
|
|
|
android:title="@string/use_kalman_filter_compass" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
|
2019-08-08 14:57:43 +02:00
|
|
|
android:key="use_magnetic_field_sensor_compass"
|
2019-09-10 10:23:30 +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-08 14:57:43 +02:00
|
|
|
android:title="@string/use_magnetic_sensor" />
|
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
|
|
|
|
android:key="map_empty_state_allowed"
|
2019-09-10 10:23:30 +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/tap_on_map_to_hide_interface" />
|
2019-08-08 14:57:43 +02:00
|
|
|
|
2019-09-20 14:39:19 +02:00
|
|
|
<SwitchPreferenceCompat
|
2019-08-08 14:57:43 +02:00
|
|
|
android:key="do_not_use_animations"
|
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/do_not_use_animations" />
|
2019-08-08 14:57:43 +02:00
|
|
|
|
2019-08-30 14:58:36 +02:00
|
|
|
<net.osmand.plus.settings.preferences.ListPreferenceEx
|
2019-08-08 14:57:43 +02:00
|
|
|
android:key="external_input_device"
|
2019-09-10 10:23:30 +02:00
|
|
|
android:layout="@layout/preference_with_descr_dialog_and_switch"
|
2019-08-08 14:57:43 +02:00
|
|
|
android:title="@string/external_input_device" />
|
|
|
|
|
2019-11-11 11:59:22 +01:00
|
|
|
<net.osmand.plus.settings.preferences.SwitchPreferenceEx
|
|
|
|
android:key="use_trackball_for_movements"
|
|
|
|
android:layout="@layout/preference_with_descr_dialog_and_switch"
|
|
|
|
android:summaryOff="@string/shared_string_off"
|
|
|
|
android:summaryOn="@string/shared_string_on"
|
|
|
|
android:title="@string/use_trackball" />
|
|
|
|
|
2019-08-07 17:45:59 +02:00
|
|
|
</PreferenceScreen>
|