OLD | NEW |
1 <?xml version="1.0" encoding="utf-8"?> | 1 <?xml version="1.0" encoding="utf-8"?> |
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public | 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
3 - License, v. 2.0. If a copy of the MPL was not distributed with this | 3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> | 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
5 | 5 |
6 <!-- Phone v11+ only: Sync is a top-level menu item. | 6 <!-- Phone v11+ only: Sync is a top-level menu item. |
7 See xml-v11/preference_headers.xml for tablet layout. | 7 See xml-v11/preference_headers.xml for tablet layout. |
8 Preference changes here should be mirrored to xml/preferences.xml.in. --> | 8 Preference changes here should be mirrored to xml/preferences.xml.in. --> |
9 | 9 |
10 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" | 10 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" |
11 xmlns:gecko="http://schemas.android.com/apk/res-auto" | 11 xmlns:gecko="http://schemas.android.com/apk/res-auto" |
12 android:enabled="false"> | 12 android:enabled="false"> |
13 | 13 |
14 <org.mozilla.gecko.preferences.SyncPreference android:key="android.not_a_pre
ference.sync" | |
15 android:title="@string/pref_sy
nc" | |
16 android:summary="@string/pref_
sync_summary" | |
17 android:persistent="false" /> | |
18 | |
19 <PreferenceScreen android:title="@string/pref_category_customize" | 14 <PreferenceScreen android:title="@string/pref_category_customize" |
20 android:summary="@string/pref_category_customize_summary" | 15 android:summary="@string/pref_category_customize_summary" |
21 android:key="android.not_a_preference.customize_screen" | 16 android:key="android.not_a_preference.customize_screen" |
22 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > | 17 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > |
23 <extra android:name="resource" | 18 <extra android:name="resource" |
24 android:value="preferences_customize"/> | 19 android:value="preferences_customize"/> |
25 </PreferenceScreen> | 20 </PreferenceScreen> |
26 | 21 |
27 <PreferenceScreen android:title="@string/pref_category_display" | 22 <PreferenceScreen android:title="@string/pref_category_display" |
28 android:summary="@string/pref_category_display_summary" | 23 android:summary="@string/pref_category_display_summary" |
29 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" | 24 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" |
30 android:key="android.not_a_preference.display.enabled" > | 25 android:key="android.not_a_preference.display.enabled" > |
31 <extra android:name="resource" | 26 <extra android:name="resource" |
32 android:value="preferences_display" /> | 27 android:value="preferences_display" /> |
33 </PreferenceScreen> | 28 </PreferenceScreen> |
34 | 29 |
35 | 30 |
36 <PreferenceScreen android:title="@string/pref_category_privacy_short" | 31 <PreferenceScreen android:title="@string/pref_category_privacy_short" |
37 android:summary="@string/pref_category_privacy_summary" | 32 android:summary="@string/pref_category_privacy_summary" |
38 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > | 33 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > |
39 <extra android:name="resource" | 34 <extra android:name="resource" |
40 android:value="preferences_privacy" /> | 35 android:value="preferences_privacy" /> |
41 </PreferenceScreen> | 36 </PreferenceScreen> |
42 | 37 |
| 38 <!-- Adblocking preferences --> |
| 39 <PreferenceScreen android:title="@string/abb_pref_category_adblocking" |
| 40 android:summary="@string/abb_pref_category_adblocking_summ
ary_main" |
| 41 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > |
| 42 <extra android:name="resource" |
| 43 android:value="preferences_abb_abp" /> |
| 44 </PreferenceScreen> |
| 45 |
43 <PreferenceScreen android:title="@string/pref_category_language" | 46 <PreferenceScreen android:title="@string/pref_category_language" |
44 android:summary="@string/pref_category_language_summary" | 47 android:summary="@string/pref_category_language_summary" |
45 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > | 48 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > |
46 <extra android:name="resource" | 49 <extra android:name="resource" |
47 android:value="preferences_locale" /> | 50 android:value="preferences_locale" /> |
48 </PreferenceScreen> | 51 </PreferenceScreen> |
49 | 52 |
50 <PreferenceScreen android:title="@string/pref_category_vendor" | 53 <PreferenceScreen android:title="@string/pref_category_vendor" |
51 android:summary="@string/pref_category_vendor_summary" | 54 android:summary="@string/pref_category_vendor_summary" |
52 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > | 55 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" > |
53 <extra android:name="resource" | 56 <extra android:name="resource" |
54 android:value="preferences_vendor"/> | 57 android:value="preferences_vendor"/> |
55 </PreferenceScreen> | 58 </PreferenceScreen> |
56 | 59 |
57 <PreferenceScreen android:title="@string/pref_category_devtools" | 60 <!-- Removed devtools as part of https://issues.adblockplus.org/ticket/2353
--> |
58 android:summary="@string/pref_developer_remotedebugging" | |
59 android:fragment="org.mozilla.gecko.preferences.GeckoPrefe
renceFragment" | |
60 android:key="android.not_a_preference.devtools.enabled" > | |
61 <extra android:name="resource" | |
62 android:value="preferences_devtools"/> | |
63 </PreferenceScreen> | |
64 | 61 |
65 </PreferenceScreen> | 62 </PreferenceScreen> |
OLD | NEW |