wangzhibo
4 天以前 ae6f40460dcd56af6c5f60ba52c883854c3bac55
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
<?xml version="1.0" encoding="utf-8"?>
<androidx.preference.PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
    <PreferenceScreen
        android:icon="@drawable/ic_gps_location"
        android:key="pref_header_gps"
        android:persistent="false"
        android:title="@string/pref_gps_header">
 
        <PreferenceCategory
            android:key="pref_gps_header_category"
            android:title="@string/pref_gps_header">
 
            <ListPreference
                android:defaultValue=""
                android:entries="@array/pref_gps_mode_preset"
                android:entryValues="@array/pref_gps_mode_preset_values"
                android:key="pref_gps_mode_preset"
                android:summary="%s"
                android:title="@string/pref_gps_mode_preset" />
 
            <ListPreference
                android:defaultValue=""
                android:entries="@array/pref_gps_band"
                android:entryValues="@array/pref_gps_band_values"
                android:key="pref_gps_band"
                android:summary="%s"
                android:title="@string/pref_gps_band" />
 
            <ListPreference
                android:defaultValue=""
                android:entries="@array/pref_gps_combination"
                android:entryValues="@array/pref_gps_combination_values"
                android:key="pref_gps_combination"
                android:summary="%s"
                android:title="@string/pref_gps_combination" />
 
            <ListPreference
                android:defaultValue=""
                android:entries="@array/pref_gps_satellite_search"
                android:entryValues="@array/pref_gps_satellite_search_values"
                android:key="pref_gps_satellite_search"
                android:summary="%s"
                android:title="@string/pref_gps_satellite_search" />
        </PreferenceCategory>
 
        <PreferenceCategory
            android:key="pref_header_agps"
            android:title="@string/pref_agps_header">
 
            <SwitchPreferenceCompat
                android:defaultValue="false"
                android:key="pref_agps_expiry_reminder_enabled"
                android:layout="@layout/preference_checkbox"
                android:title="@string/pref_agps_expiry_reminder_enabled" />
 
            <nodomain.freeyourgadget.gadgetbridge.util.XTimePreference
                android:defaultValue="20:00"
                android:dependency="pref_agps_expiry_reminder_enabled"
                android:key="pref_agps_expiry_reminder_time"
                android:title="@string/pref_agps_expiry_reminder_time" />
 
            <Preference
                android:key="pref_agps_update_time"
                android:title="@string/pref_agps_update_time" />
 
            <Preference
                android:key="pref_agps_expire_time"
                android:title="@string/pref_agps_expire_time" />
        </PreferenceCategory>
    </PreferenceScreen>
</androidx.preference.PreferenceScreen>