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: Added missing slashes Created March 21, 2015, 1:52 a.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 -->
+ <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>
+
+
« 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