FitoTrack/app/src/main/res/xml/preferences_main.xml
2020-01-02 01:01:50 -08:00

66 lines
2.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (c) 2019 Jannis Scheibe <jannis@tadris.de>
~
~ This file is part of FitoTrack
~
~ FitoTrack is free software: you can redistribute it and/or modify
~ it under the terms of the GNU General Public License as published by
~ the Free Software Foundation, either version 3 of the License, or
~ (at your option) any later version.
~
~ FitoTrack is distributed in the hope that it will be useful,
~ but WITHOUT ANY WARRANTY; without even the implied warranty of
~ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
~ GNU General Public License for more details.
~
~ You should have received a copy of the GNU General Public License
~ along with this program. If not, see <http://www.gnu.org/licenses/>.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
<ListPreference
android:entries="@array/pref_unit_systems"
android:entryValues="@array/pref_unit_system_values"
android:key="unitSystem"
android:title="@string/pref_unit_system"
android:defaultValue="1" />
<Preference
android:key="weight"
android:selectAllOnFocus="true"
android:singleLine="true"
android:summary="@string/pref_weight_summary"
android:title="@string/pref_weight" />
<ListPreference
android:defaultValue="osm.mapnik"
android:entries="@array/pref_map_layers"
android:entryValues="@array/pref_map_layers_values"
android:key="mapStyle"
android:title="@string/mapStyle" />
<Preference
android:key="spokenUpdatePeriod"
android:selectAllOnFocus="true"
android:singleLine="true"
android:summary="Choose the frequency of spoken updates"
android:title="Spoken updates" />
<PreferenceCategory android:title="@string/data">
<Preference
android:key="import"
android:summary="@string/importBackupSummary"
android:title="@string/importBackup" />
<Preference
android:key="export"
android:summary="@string/exportDataSummary"
android:title="@string/exportData" />
</PreferenceCategory>
</PreferenceScreen>