mirror of
https://github.com/atsunatsu/Look4Sat.git
synced 2026-10-03 11:17:25 +00:00
Added ground station preferences and location switcher
This commit is contained in:
1 parent
a90e9ea418
commit
3bf511019e
2 files changed
+33
-11
No files matched your search
@@ -1,13 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<PreferenceCategory android:title="@string/placeholder">
|
||||
<PreferenceCategory android:title="Ground station location">
|
||||
<SwitchPreference
|
||||
android:defaultValue="true"
|
||||
android:disableDependentsState="true"
|
||||
android:key="DEVICE_LOCATION"
|
||||
android:summary="@string/device_location_summary"
|
||||
android:title="Use device location" />
|
||||
<EditTextPreference
|
||||
android:key="username"
|
||||
android:summary="@string/placeholder"
|
||||
android:title="@string/placeholder" />
|
||||
android:defaultValue="@string/latitude_def"
|
||||
android:dependency="DEVICE_LOCATION"
|
||||
android:key="LATITUDE"
|
||||
android:summary="@string/latitude_summary"
|
||||
android:title="@string/latitude" />
|
||||
<EditTextPreference
|
||||
android:key="password"
|
||||
android:summary="@string/placeholder"
|
||||
android:title="@string/placeholder" />
|
||||
android:defaultValue="@string/longitude_def"
|
||||
android:dependency="DEVICE_LOCATION"
|
||||
android:key="LONGITUDE"
|
||||
android:summary="@string/longitude_summary"
|
||||
android:title="@string/longitude" />
|
||||
<EditTextPreference
|
||||
android:defaultValue="@string/height_def"
|
||||
android:dependency="DEVICE_LOCATION"
|
||||
android:key="HEIGHT"
|
||||
android:summary="@string/height_summary"
|
||||
android:title="@string/height" />
|
||||
</PreferenceCategory>
|
||||
</PreferenceScreen>
|
||||
Reference in new issue
Block a user