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

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

Issue 4920541991403520: Create a minimal settings UI (Closed)
Patch Set: Hopefully removed wrong files Created March 20, 2015, 11:21 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/preferences_abp_adblockplus.xml
diff --git a/mobile/android/base/resources/xml/preferences_abp_adblockplus.xml b/mobile/android/base/resources/xml/preferences_abp_adblockplus.xml
new file mode 100644
index 0000000000000000000000000000000000000000..082121c25ba88e425d6777bcf167cfd5fd95b5fa
--- /dev/null
+++ b/mobile/android/base/resources/xml/preferences_abp_adblockplus.xml
@@ -0,0 +1,35 @@
+<?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"
+ 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_aceptable_ads"
+ android:summary="@string/abp_pref_category_aceptable_ads_summary" >
+ <intent android:action="android.intent.action.VIEW"
+ android:targetPackage="@string/android_package_name"
+ android:targetClass="org.mozilla.gecko.preferences.GeckoPreferences" >
+ <extra android:name="resource"
+ android:value="preferences_abp_acceptable_ads" />
+ </intent>
+ </PreferenceScreen>
+ <PreferenceScreen android:title="@string/abp_pref_category_whitelisted_sites"
+ android:summary="@string/abp_pref_category_whitelisted_sites_summary" >
+ </PreferenceScreen>
+ </PreferenceCategory>
+
+</PreferenceScreen>
+
« no previous file with comments | « mobile/android/base/resources/xml/preferences_abp_acceptable_ads.xml ('k') | mobile/android/base/strings.xml.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld