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

Unified Diff: mobile/android/base/resources/xml/preferences_abp_acceptable_ads.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_acceptable_ads.xml
diff --git a/mobile/android/base/resources/xml/preferences_abp_acceptable_ads.xml b/mobile/android/base/resources/xml/preferences_abp_acceptable_ads.xml
new file mode 100644
index 0000000000000000000000000000000000000000..f081f52e5eb80dac087508d15c784d5cfa8b8cbc
--- /dev/null
+++ b/mobile/android/base/resources/xml/preferences_abp_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">
+
+ <org.adblockplus.browser.AbpCheckBoxPreference android:key="android.not_a_preference.abp.acceptable_ads_state"
+ android:title="@string/abp_pref_acceptable_ads"
+ android:defaultValue="true"
+ android:persistent="false"
+ android:enabled="false" />
+
+ <!-- keys prefixed with "android.not_a_preference." are not synced with Gecko -->
+ <PreferenceCategory android:title="@string/abp_pref_category_aceptable_ads">
+ <Preference android:key="android.not_a_preference.abp.about_acceptable_ads"
+ android:selectable="false"
+ android:persistent="false"
+ android:title="About Acceptable ads"
+ android:summary="We'd like to encourage websites to use starightforward, unobtrusive advertising. That's why we established strict guidelines to identify acceptable ads, which are shown under default settings. If you still wanto to block every ad you can disable this in a few seconds." />
+ </PreferenceCategory>
+
+</PreferenceScreen>
+
+
« no previous file with comments | « mobile/android/base/resources/xml/preferences.xml ('k') | mobile/android/base/resources/xml/preferences_abp_adblockplus.xml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld