summaryrefslogtreecommitdiffstats
path: root/res/layout/preference_widget_sync_toggle.xml
diff options
context:
space:
mode:
authorFabrice Di Meglio <fdimeglio@google.com>2014-10-17 20:46:31 +0000
committerAndroid (Google) Code Review <android-gerrit@google.com>2014-10-17 20:46:32 +0000
commit27c0b548ab701aefef7655e78401a52c33c6270c (patch)
treed9785a85fe2c20c553c07f8fe16b0c0d7f5340d5 /res/layout/preference_widget_sync_toggle.xml
parent0303bb203059e75c729804405d481bd3333c4098 (diff)
parent1bc996532ca5c53efaaa5718d7ba4d0ad9710571 (diff)
downloadpackages_apps_Settings-27c0b548ab701aefef7655e78401a52c33c6270c.zip
packages_apps_Settings-27c0b548ab701aefef7655e78401a52c33c6270c.tar.gz
packages_apps_Settings-27c0b548ab701aefef7655e78401a52c33c6270c.tar.bz2
Merge "Fix bug #15730311 Checkboxes on R side should update to Quantum/Material on/off switch" into lmp-mr1-dev
Diffstat (limited to 'res/layout/preference_widget_sync_toggle.xml')
-rw-r--r--res/layout/preference_widget_sync_toggle.xml6
1 files changed, 3 insertions, 3 deletions
diff --git a/res/layout/preference_widget_sync_toggle.xml b/res/layout/preference_widget_sync_toggle.xml
index 115098b..22cd4d3 100644
--- a/res/layout/preference_widget_sync_toggle.xml
+++ b/res/layout/preference_widget_sync_toggle.xml
@@ -14,7 +14,7 @@
limitations under the License.
-->
-<!-- Layout used by SyncStateCheckBoxPreference. This is inflated
+<!-- Layout used by SyncStateSwitchPreference. This is inflated
inside android.R.layout.preference. -->
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="wrap_content"
@@ -38,8 +38,8 @@
android:layout_marginEnd="8dip"
android:contentDescription="@string/sync_active" />
- <CheckBox xmlns:android="http://schemas.android.com/apk/res/android"
- android:id="@android:id/checkbox"
+ <Switch xmlns:android="http://schemas.android.com/apk/res/android"
+ android:id="@*android:id/switchWidget"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center_vertical"