1
1
<?xml version =" 1.0" encoding =" utf-8" ?>
2
2
<PreferenceScreen
3
- xmlns : android =" http://schemas.android.com/apk/res/android"
4
- >
5
-
6
- <ListPreference
7
- android : key =" defaultLicense"
8
- android : title =" @string/preference_license"
9
- android : entries =" @array/pref_defaultLicense_entries"
10
- android : entryValues =" @array/pref_defaultLicense_values"
11
- android : defaultValue =" @string/license_pref_cc_by_sa_4_0"
12
- />
13
-
14
- <CheckBoxPreference
15
- android : key =" allowGps"
16
- android : title =" @string/allow_gps"
17
- android : defaultValue =" false"
18
- android : summary =" @string/allow_gps_summary"
19
- />
20
-
21
- <Preference android : title =" @string/become_a_tester_title"
22
- android : summary =" @string/become_a_tester_description" >
23
- <intent android : action =" android.intent.action.VIEW"
24
- android : data =" @string/beta_opt_in_link" />
25
- </Preference >
26
-
27
- <CheckBoxPreference
28
- android : title =" @string/preference_theme"
29
- android : defaultValue =" false"
30
- android : summary =" @string/preference_theme_summary"
31
- android : key =" theme"
32
- />
33
-
34
- <CheckBoxPreference
35
- android : key =" useWikidata"
36
- android : title =" @string/use_wikidata"
37
- android : defaultValue =" true"
38
- android : summary =" @string/use_wikidata_summary"
39
- />
40
-
41
- <EditTextPreference
42
- android : key =" uploads"
43
- android : defaultValue =" 100"
44
- android : title = " @string/set_limit"
45
- android : inputType =" numberDecimal"
46
- android : maxLength =" 3"
47
- />
48
-
49
- <CheckBoxPreference
50
- android : key =" useExternalStorage"
51
- android : title =" @string/use_external_storage"
52
- android : defaultValue =" true"
53
- android : summary =" @string/use_external_storage_summary"
54
- />
55
-
56
- <Preference
57
- android : key =" sendLogFile"
58
- android : title =" @string/send_log_file"
59
- android : summary =" @string/send_log_file_description" />
3
+ xmlns : android =" http://schemas.android.com/apk/res/android" >
4
+
5
+ <PreferenceCategory
6
+ android : title =" @string/preference_category_appearance" >
7
+
8
+ <SwitchPreference
9
+ android : title =" @string/preference_theme"
10
+ android : defaultValue =" false"
11
+ android : summary =" @string/preference_theme_summary"
12
+ android : key =" theme" />
13
+
14
+ </PreferenceCategory >
15
+
16
+ <PreferenceCategory
17
+ android : title =" @string/preference_category_general" >
18
+
19
+ <ListPreference
20
+ android : key =" defaultLicense"
21
+ android : title =" @string/preference_license"
22
+ android : entries =" @array/pref_defaultLicense_entries"
23
+ android : entryValues =" @array/pref_defaultLicense_values"
24
+ android : defaultValue =" @string/license_pref_cc_by_sa_4_0" />
25
+
26
+ <SwitchPreference
27
+ android : key =" useExternalStorage"
28
+ android : title =" @string/use_external_storage"
29
+ android : defaultValue =" true"
30
+ android : summary =" @string/use_external_storage_summary" />
31
+
32
+ <EditTextPreference
33
+ android : key =" uploads"
34
+ android : defaultValue =" 100"
35
+ android : title = " @string/set_limit"
36
+ android : inputType =" numberDecimal"
37
+ android : maxLength =" 3" />
38
+
39
+ </PreferenceCategory >
40
+
41
+ <PreferenceCategory
42
+ android : title =" @string/preference_category_location" >
43
+
44
+ <SwitchPreference
45
+ android : key =" allowGps"
46
+ android : title =" @string/allow_gps"
47
+ android : defaultValue =" false"
48
+ android : summary =" @string/allow_gps_summary" />
49
+
50
+ </PreferenceCategory >
51
+
52
+ <PreferenceCategory
53
+ android : title =" @string/preference_category_feedback" >
54
+
55
+ <Preference android : title =" @string/become_a_tester_title"
56
+ android : summary =" @string/become_a_tester_description" >
57
+ <intent android : action =" android.intent.action.VIEW"
58
+ android : data =" @string/beta_opt_in_link" />
59
+ </Preference >
60
+
61
+ <Preference
62
+ android : key =" sendLogFile"
63
+ android : title =" @string/send_log_file"
64
+ android : summary =" @string/send_log_file_description" />
65
+
66
+ </PreferenceCategory >
60
67
61
68
</PreferenceScreen >
0 commit comments