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

Unified Diff: mobile/android/base/resources/xml-v11/preferences_abp_adblockplus.xml

Issue 4920541991403520: Create a minimal settings UI (Closed)
Patch Set: Cleanup of AddOnBridge Created March 22, 2015, 12:13 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: mobile/android/base/resources/xml-v11/preferences_abp_adblockplus.xml
diff --git a/mobile/android/base/resources/xml-v11/preferences_abp_adblockplus.xml b/mobile/android/base/resources/xml-v11/preferences_abp_adblockplus.xml
new file mode 100644
index 0000000000000000000000000000000000000000..05dcd2ad60a0701eccb29b4d9595556e518e3c24
--- /dev/null
+++ b/mobile/android/base/resources/xml-v11/preferences_abp_adblockplus.xml
@@ -0,0 +1,32 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- This Source Code Form is subject to the terms of the Mozilla Public
+ - License, v. 2.0. If a copy of the MPL was not distributed with this
+ - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
+
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:gecko="http://schemas.android.com/apk/res-auto"
+ android:enabled="false">
+
+ <PreferenceCategory android:title="@string/abp_pref_category_blocking">
+ <PreferenceScreen android:title="@string/abp_pref_category_adblocking"
+ android:summary="@string/abp_pref_category_adblocking_summary" >
+ </PreferenceScreen>
+ <PreferenceScreen android:title="@string/abp_pref_category_further_blocking"
Felix Dahlke 2015/03/22 13:52:34 How about we leave the stuff out we won't have in
René Jeschke 2015/03/22 15:32:59 I will _comment it out_ and not remove it, though.
Felix Dahlke 2015/03/22 15:51:45 Then let's leave it in there rather, commented out
+ android:summary="@string/abp_pref_category_further_blocking_summary" >
+ </PreferenceScreen>
+ </PreferenceCategory>
+
+ <PreferenceCategory android:title="@string/abp_pref_category_exceptions">
+ <PreferenceScreen android:title="@string/abp_pref_category_acceptable_ads"
+ android:summary="@string/abp_pref_category_acceptable_ads_summary"
+ android:fragment="org.mozilla.gecko.preferences.GeckoPreferenceFragment" >
+ <extra android:name="resource"
+ android:value="preferences_abp_acceptable_ads" />
+ </PreferenceScreen>
+ <PreferenceScreen android:title="@string/abp_pref_category_whitelisted_sites"
+ android:summary="@string/abp_pref_category_whitelisted_sites_summary" >
+ </PreferenceScreen>
+ </PreferenceCategory>
+
+</PreferenceScreen>
+

Powered by Google App Engine
This is Rietveld