OsmAnd/OsmAnd/res/xml/settings_main_screen.xml
2020-05-19 16:27:41 +03:00

68 lines
No EOL
2.1 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:title="@string/shared_string_settings">
<Preference
android:key="global_settings"
android:layout="@layout/preference_with_descr"
android:persistent="false"
android:summary="@string/osmand_settings_descr"
android:title="@string/osmand_settings"
app:fragment="net.osmand.plus.settings.fragments.GlobalSettingsFragment"
tools:icon="@drawable/ic_action_settings" />
<Preference
android:layout="@layout/list_item_divider"
android:selectable="false" />
<PreferenceCategory
android:key="selected_profile"
android:layout="@layout/preference_category_with_descr"
android:title="@string/selected_profile" />
<Preference
android:key="configure_profile"
android:layout="@layout/preference_with_descr"
android:persistent="false"
android:title="@string/configure_profile"
app:fragment="net.osmand.plus.settings.fragments.ConfigureProfileFragment"
tools:icon="@drawable/ic_action_car_dark" />
<PreferenceCategory
android:key="app_profiles"
android:layout="@layout/preference_category_with_descr"
android:title="@string/application_profiles" />
<Preference
android:layout="@layout/simple_divider_item"
android:selectable="false" />
<Preference
android:key="create_profile"
android:layout="@layout/preference_button"
android:persistent="false"
android:title="@string/new_profile"
tools:icon="@drawable/ic_action_plus" />
<Preference
android:key="import_profile"
android:layout="@layout/preference_button"
android:persistent="false"
android:title="@string/import_profile"
tools:icon="@drawable/ic_action_import" />
<Preference
android:key="reorder_profiles"
android:layout="@layout/preference_button"
android:persistent="false"
android:title="@string/reorder_profiles"
app:fragment="net.osmand.plus.profiles.EditProfilesFragment"
tools:icon="@drawable/ic_action_edit_dark" />
<Preference
android:layout="@layout/card_bottom_divider"
android:selectable="false" />
</PreferenceScreen>