Files
Look4Sat-BA7OPF/app/src/main/res/xml/preference.xml
T

80 lines
3.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?><!--
~ Look4Sat. Amateur radio and weather satellite tracker and passes predictor for Android.
~ Copyright (C) 2019, 2020 Arty Bishop (bishop.arty@gmail.com)
~
~ This program 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 2 of the License, or
~ (at your option) any later version.
~
~ This program 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, write to the Free Software Foundation, Inc.,
~ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
-->
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto">
<PreferenceCategory
android:title="@string/pref_gsp_title"
app:iconSpaceReserved="false">
<EditTextPreference
android:defaultValue="0.0"
android:key="latitude"
android:title="@string/pref_lat_title"
app:iconSpaceReserved="false"
app:useSimpleSummaryProvider="true" />
<EditTextPreference
android:defaultValue="0.0"
android:key="longitude"
android:title="@string/pref_lon_title"
app:iconSpaceReserved="false"
app:useSimpleSummaryProvider="true" />
<EditTextPreference
android:defaultValue="0.0"
android:key="altitude"
android:title="@string/pref_alt_title"
app:iconSpaceReserved="false"
app:useSimpleSummaryProvider="true" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_pass_title"
app:iconSpaceReserved="false">
<SeekBarPreference
android:key="hoursAhead"
android:max="72"
android:title="@string/pref_hours_title"
app:defaultValue="8"
app:iconSpaceReserved="false"
app:min="1"
app:showSeekBarValue="true" />
<SeekBarPreference
android:key="minimalElevation"
android:max="72"
android:title="@string/pref_elev_title"
app:adjustable="false"
app:defaultValue="16"
app:iconSpaceReserved="false"
app:min="0"
app:showSeekBarValue="true" />
</PreferenceCategory>
<PreferenceCategory
android:title="@string/pref_other_title"
app:iconSpaceReserved="false">
<SwitchPreference
android:defaultValue="false"
android:key="timeUTC"
android:title="@string/pref_time_utc_title"
app:iconSpaceReserved="false" />
<SwitchPreference
android:defaultValue="true"
android:key="compass"
android:title="@string/pref_compass_title"
app:iconSpaceReserved="false" />
</PreferenceCategory>
</PreferenceScreen>