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: 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/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..4fbe1f44c04fa481b362381e672c41d79327ab24
--- /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 -->
Felix Dahlke 2015/03/22 13:52:34 android.not_a_preference is being used above, move
René Jeschke 2015/03/22 15:32:59 Done.
+ <PreferenceCategory android:title="@string/abp_pref_category_acceptable_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="@string/abp_pref_category_acceptable_ads_extra_summary" />
+ </PreferenceCategory>
+
+</PreferenceScreen>
+
+

Powered by Google App Engine
This is Rietveld