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

Unified Diff: libadblockplus-android-settings/res/xml/preference_adblock_general.xml

Issue 29361445: Issue 4399 - Add WebView inheritor with ad blocking (Closed)
Patch Set: fixed 2 more members in AdblockEngine Created Dec. 16, 2016, 8:31 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: libadblockplus-android-settings/res/xml/preference_adblock_general.xml
diff --git a/libadblockplus-android-settings/res/xml/preference_adblock_general.xml b/libadblockplus-android-settings/res/xml/preference_adblock_general.xml
new file mode 100644
index 0000000000000000000000000000000000000000..3e3f8e3f9343ade3a133ba046d2f1556914b0280
--- /dev/null
+++ b/libadblockplus-android-settings/res/xml/preference_adblock_general.xml
@@ -0,0 +1,27 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android">
+
+ <!-- Adblock: enabled/disabled -->
+ <SwitchPreference
+ android:key="@string/fragment_adblock_settings_enabled_key"
+ android:title="@string/fragment_adblock_settings_enabled_title" />
+
+ <!-- Filter lists -->
+ <MultiSelectListPreference
+ android:key="adblock_filter_lists"
+ android:title="@string/fragment_adblock_settings_filter_lists_title"
+ android:summary="@string/fragment_adblock_settings_filter_lists_summary" />
+
+ <!-- Acceptable Ads: enabled/disabled -->
+ <SwitchPreference
+ android:key="@string/fragment_adblock_settings_aa_enabled_key"
+ android:title="@string/fragment_adblock_settings_aa_enabled_title"
+ android:summary="@string/fragment_adblock_settings_aa_enabled_summary" />
+
+ <!-- Whitelisted domains -->
+ <Preference
+ android:key="@string/fragment_adblock_settings_wl_key"
+ android:title="@string/fragment_adblock_settings_wl_title"
+ android:summary="@string/fragment_adblock_settings_wl_summary" />
+
+</PreferenceScreen>

Powered by Google App Engine
This is Rietveld