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

Unified Diff: res/xml/preferences_advanced.xml

Issue 8363097: ABP/Android preferences UI (Closed) Base URL: https://hg.adblockplus.org/adblockplusandroid/
Patch Set: Created Sept. 14, 2012, 8:20 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: res/xml/preferences_advanced.xml
===================================================================
new file mode 100644
--- /dev/null
+++ b/res/xml/preferences_advanced.xml
@@ -0,0 +1,63 @@
+<?xml version="1.0" encoding="utf-8"?>
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ android:title="@string/pref_advanced_title" >
+
+ <CheckBoxPreference
+ android:defaultValue="@bool/def_startatboot"
+ android:key="@string/pref_startatboot"
+ android:summaryOff="@string/pref_startatboot_summary_off"
+ android:summaryOn="@string/pref_startatboot_summary_on"
+ android:title="@string/pref_startatboot_title" />
+
+ <PreferenceCategory android:title="@string/pref_subscription_title" >
+ <ListPreference
+ android:defaultValue="@integer/def_refresh"
+ android:dialogTitle="@string/pref_refresh_title"
+ android:entries="@array/refresh_names"
+ android:entryValues="@array/refresh_values"
+ android:key="@string/pref_refresh"
+ android:title="@string/pref_refresh_title" />
+
+ <CheckBoxPreference
+ android:defaultValue="@bool/def_wifirefresh"
+ android:key="@string/pref_wifirefresh"
+ android:summaryOff="@string/pref_wifirefresh_summary_off"
+ android:summaryOn="@string/pref_wifirefresh_summary_on"
+ android:title="@string/pref_wifirefresh_title" />
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:key="@string/pref_proxy"
+ android:title="@string/pref_proxy_title" >
+ <EditTextPreference
+ android:inputType="text"
+ android:key="@string/pref_proxyhost"
+ android:singleLine="true"
+ android:title="@string/pref_proxyhost_title" />
+ <EditTextPreference
+ android:inputType="number"
+ android:key="@string/pref_proxyport"
+ android:singleLine="true"
+ android:title="@string/pref_proxyport_title" />
+ <EditTextPreference
+ android:inputType="text"
+ android:key="@string/pref_proxyuser"
+ android:singleLine="true"
+ android:title="@string/pref_proxyuser_title" />
+ <EditTextPreference
+ android:inputType="textPassword"
+ android:key="@string/pref_proxypass"
+ android:singleLine="true"
+ android:title="@string/pref_proxypass_title" />
+ </PreferenceCategory>
+ <PreferenceCategory
+ android:key="@string/pref_support"
+ android:title="@string/pref_support_title" >
+ <CheckBoxPreference
+ android:defaultValue="@bool/def_crashreport"
+ android:key="@string/pref_crashreport"
+ android:summaryOff="@string/pref_crashreport_summary_off"
+ android:summaryOn="@string/pref_crashreport_summary_on"
+ android:title="@string/pref_crashreport_title" />
+ </PreferenceCategory>
+
+</PreferenceScreen>

Powered by Google App Engine
This is Rietveld