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

Side by Side Diff: mobile/android/base/resources/xml/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 <intent android:action="android.intent.action.VIEW" 19 <intent android:action="android.intent.action.VIEW"
13 android:targetPackage="@string/android_package_name" 20 android:targetPackage="@string/android_package_name"
14 android:targetClass="org.mozilla.gecko.preferences.GeckoPr eferences" > 21 android:targetClass="org.mozilla.gecko.preferences.GeckoPr eferences" >
15 <extra android:name="resource" 22 <extra android:name="resource"
16 android:value="preferences_abb_adblocking" /> 23 android:value="preferences_abb_adblocking" />
17 </intent> 24 </intent>
18 </PreferenceScreen> 25 </PreferenceScreen>
19 <PreferenceScreen android:title="@string/abb_pref_category_more_blocking " 26 <PreferenceScreen android:title="@string/abb_pref_category_more_blocking "
20 android:summary="@string/abb_pref_category_more_blocki ng_summary" > 27 android:summary="@string/abb_pref_category_more_blocki ng_summary" >
21 <intent android:action="android.intent.action.VIEW" 28 <intent android:action="android.intent.action.VIEW"
22 android:targetPackage="@string/android_package_name" 29 android:targetPackage="@string/android_package_name"
23 android:targetClass="org.mozilla.gecko.preferences.GeckoPr eferences" > 30 android:targetClass="org.mozilla.gecko.preferences.GeckoPr eferences" >
24 <extra android:name="resource" 31 <extra android:name="resource"
25 android:value="preferences_abb_more_blocking" /> 32 android:value="preferences_abb_more_blocking" />
26 </intent> 33 </intent>
27 </PreferenceScreen> 34 </PreferenceScreen>
28 </PreferenceCategory> 35 </PreferenceCategory>
29 <PreferenceCategory android:title="@string/abb_pref_category_exceptions"> 36 <PreferenceCategory android:title="@string/abb_pref_category_exceptions"
37 android:dependency="android.not_a_preference.adblockbrowser.apiAdblockPl usEnabled" >
30 <PreferenceScreen android:title="@string/abb_pref_category_acceptable_ad s" 38 <PreferenceScreen android:title="@string/abb_pref_category_acceptable_ad s"
31 android:summary="@string/abb_pref_category_acceptable_ ads_summary" > 39 android:summary="@string/abb_pref_category_acceptable_ ads_summary" >
32 <intent android:action="android.intent.action.VIEW" 40 <intent android:action="android.intent.action.VIEW"
33 android:targetPackage="@string/android_package_name" 41 android:targetPackage="@string/android_package_name"
34 android:targetClass="org.mozilla.gecko.preferences.GeckoPr eferences" > 42 android:targetClass="org.mozilla.gecko.preferences.GeckoPr eferences" >
35 <extra android:name="resource" 43 <extra android:name="resource"
36 android:value="preferences_abb_abp_acceptable_ads" /> 44 android:value="preferences_abb_abp_acceptable_ads" />
37 </intent> 45 </intent>
38 </PreferenceScreen> 46 </PreferenceScreen>
39 <!-- Commented out until implemented 47 <!-- Commented out until implemented
40 <PreferenceScreen android:title="@string/abb_pref_category_whitelisted_s ites" 48 <PreferenceScreen android:title="@string/abb_pref_category_whitelisted_s ites"
41 android:summary="@string/abb_pref_category_whitelisted _sites_summary" > 49 android:summary="@string/abb_pref_category_whitelisted _sites_summary" >
42 </PreferenceScreen> 50 </PreferenceScreen>
43 --> 51 -->
44 </PreferenceCategory> 52 </PreferenceCategory>
45 53
46 </PreferenceScreen> 54 </PreferenceScreen>
47 55
OLDNEW
« no previous file with comments | « mobile/android/base/resources/xml-v11/preferences_abb_abp.xml ('k') | mobile/android/base/strings.xml.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld