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

Unified Diff: res/xml/preferences.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.xml
===================================================================
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -1,10 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
-<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
+<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" xmlns:switchpref="http://schemas.android.com/apk/res-auto">
- <CheckBoxPreference
+ <org.jraf.android.backport.switchwidget.SwitchPreference
android:key="@string/pref_enabled"
- android:summaryOff="@string/pref_enabled_summary_off"
- android:summaryOn="@string/pref_enabled_summary_on"
+ switchpref:summaryOff="@string/pref_enabled_summary_off"
+ switchpref:summaryOn="@string/pref_enabled_summary_on"
android:title="@string/pref_enabled_title" />
<org.adblockplus.android.RefreshableListPreference

Powered by Google App Engine
This is Rietveld