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

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

Issue 4920541991403520: Create a minimal settings UI (Closed)
Patch Set: Forgot commenting out Created March 22, 2015, 3:40 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_adblockbrowser_acceptable_ads.xml
diff --git a/mobile/android/base/resources/xml/preferences_adblockbrowser_acceptable_ads.xml b/mobile/android/base/resources/xml/preferences_adblockbrowser_acceptable_ads.xml
new file mode 100644
index 0000000000000000000000000000000000000000..b84b3c5cd65b83f7e3d616e9be7c76f0445890ed
--- /dev/null
+++ b/mobile/android/base/resources/xml/preferences_adblockbrowser_acceptable_ads.xml
@@ -0,0 +1,28 @@
+<?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:title="@string/pref_category_privacy_short"
+ android:enabled="false">
+
+ <!-- keys prefixed with "android.not_a_preference." are not synced with Gecko -->
+ <org.adblockplus.browser.AbpCheckBoxPreference android:key="android.not_a_preference.adblockbrowser.apiAcceptableAdsEnabled"
+ android:title="@string/adblockbrowser_pref_acceptable_ads"
+ android:defaultValue="true"
+ android:persistent="false"
+ android:enabled="false" />
+
+ <PreferenceCategory android:title="@string/adblockbrowser_pref_category_acceptable_ads">
+ <Preference android:key="android.not_a_preference.adblockbrowser.aboutAcceptableAds"
+ android:selectable="false"
+ android:persistent="false"
+ android:title="About Acceptable ads"
+ android:summary="@string/adblockbrowser_pref_category_acceptable_ads_extra_summary" />
+ </PreferenceCategory>
+
+</PreferenceScreen>
+
+

Powered by Google App Engine
This is Rietveld