Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Side by Side Diff: mobile/android/base/resources/xml-v11/preferences_abb_abp.xml

Issue 29342912: Issue 3070 - Create Adblock Plus on/off switch (Closed)
Patch Set: Adjusting preferences xml attributes order Created Oct. 26, 2016, 12:37 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
OLDNEW
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 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" 6 <PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
7 xmlns:gecko="http://schemas.android.com/apk/res-auto" > 7 xmlns:gecko="http://schemas.android.com/apk/res-auto" >
8 8
9 <PreferenceCategory android:title="@string/abb_pref_category_blocking"> 9 <org.adblockplus.browser.AbpCheckBoxPreference android:key="android.not_a_pr eference.adblockbrowser.apiAdblockPlusEnabled"
10 android:title="@string/abb_pref_category_abp"
11 android:summary="@string/abb_pref_category_abp_summary"
12 android:defaultValue="true"
13 android:persistent="false" />
14
15 <PreferenceCategory android:title="@string/abb_pref_category_blocking"
16 android:dependency="android.not_a_preference.adblockbrowser.apiAdblockPl usEnabled" >
10 <PreferenceScreen android:title="@string/abb_pref_category_adblocking" 17 <PreferenceScreen android:title="@string/abb_pref_category_adblocking"
11 android:summary="@string/abb_pref_category_adblocking_ summary" 18 android:summary="@string/abb_pref_category_adblocking_ summary"
12 android:fragment="org.mozilla.gecko.preferences.GeckoP referenceFragment" > 19 android:fragment="org.mozilla.gecko.preferences.GeckoP referenceFragment" >
13 <extra android:name="resource" 20 <extra android:name="resource"
14 android:value="preferences_abb_adblocking" /> 21 android:value="preferences_abb_adblocking" />
15 </PreferenceScreen> 22 </PreferenceScreen>
16 <PreferenceScreen android:title="@string/abb_pref_category_more_blocking " 23 <PreferenceScreen android:title="@string/abb_pref_category_more_blocking "
17 android:summary="@string/abb_pref_category_more_blocki ng_summary" 24 android:summary="@string/abb_pref_category_more_blocki ng_summary"
18 android:fragment="org.mozilla.gecko.preferences.GeckoP referenceFragment" > 25 android:fragment="org.mozilla.gecko.preferences.GeckoP referenceFragment" >
19 <extra android:name="resource" 26 <extra android:name="resource"
20 android:value="preferences_abb_more_blocking" /> 27 android:value="preferences_abb_more_blocking" />
21 </PreferenceScreen> 28 </PreferenceScreen>
22 </PreferenceCategory> 29 </PreferenceCategory>
23 30
24 <PreferenceCategory android:title="@string/abb_pref_category_exceptions"> 31 <PreferenceCategory android:title="@string/abb_pref_category_exceptions"
32 android:dependency="android.not_a_preference.adblockbrowser.apiAdblockPl usEnabled" >
25 <PreferenceScreen android:title="@string/abb_pref_category_acceptable_ad s" 33 <PreferenceScreen android:title="@string/abb_pref_category_acceptable_ad s"
26 android:summary="@string/abb_pref_category_acceptable_ ads_summary" 34 android:summary="@string/abb_pref_category_acceptable_ ads_summary"
27 android:fragment="org.mozilla.gecko.preferences.GeckoP referenceFragment" > 35 android:fragment="org.mozilla.gecko.preferences.GeckoP referenceFragment" >
28 <extra android:name="resource" 36 <extra android:name="resource"
29 android:value="preferences_abb_abp_acceptable_ads" /> 37 android:value="preferences_abb_abp_acceptable_ads" />
30 </PreferenceScreen> 38 </PreferenceScreen>
31 <!-- Commented out until implemented 39 <!-- Commented out until implemented
32 <PreferenceScreen android:title="@string/abb_pref_category_whitelisted_s ites" 40 <PreferenceScreen android:title="@string/abb_pref_category_whitelisted_s ites"
33 android:summary="@string/abb_pref_category_whitelisted _sites_summary" > 41 android:summary="@string/abb_pref_category_whitelisted _sites_summary" >
34 </PreferenceScreen> 42 </PreferenceScreen>
35 --> 43 -->
36 </PreferenceCategory> 44 </PreferenceCategory>
37 45
38 </PreferenceScreen> 46 </PreferenceScreen>
39 47
OLDNEW

Powered by Google App Engine
This is Rietveld