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

Unified Diff: res/xml/preferences_advanced.xml

Issue 9437197: ABP/Android Proxy switch (Closed)
Patch Set: Created Feb. 28, 2013, 1: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
===================================================================
--- a/res/xml/preferences_advanced.xml
+++ b/res/xml/preferences_advanced.xml
@@ -1,7 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:switchpref="http://schemas.android.com/apk/res-auto"
android:title="@string/pref_advanced_title" >
+ <org.jraf.android.backport.switchwidget.SwitchPreference
+ android:defaultValue="true"
+ android:key="@string/pref_proxyenabled"
+ android:title="@string/pref_proxyenabled_title"
+ switchpref:summaryOff="@string/pref_proxyenabled_summary_off"
+ switchpref:summaryOn="@string/pref_proxyenabled_summary_on" />
+
<CheckBoxPreference
android:defaultValue="@bool/def_startatboot"
android:key="@string/pref_startatboot"

Powered by Google App Engine
This is Rietveld