summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorSTELIX <ssspinni@gmail.com>2014-12-09 16:11:05 +0100
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-11-24 17:09:17 -0800
commit4a806aef49b33f8c823983b9fac120f9b9b837d9 (patch)
tree3eab37a6c93738a1f130114c5bdb0320298aecb2 /res/xml
parent5f350518a2aec87c057152191eddddad21083d1c (diff)
downloadpackages_apps_Settings-4a806aef49b33f8c823983b9fac120f9b9b837d9.zip
packages_apps_Settings-4a806aef49b33f8c823983b9fac120f9b9b837d9.tar.gz
packages_apps_Settings-4a806aef49b33f8c823983b9fac120f9b9b837d9.tar.bz2
Settings - Display Rotation: Checkboxes to Switches
Display rotation: Switches to checkboxes According to the guidelines, checkboxes should be used in lists Checkboxes match better than switches in this cas Change-Id: I631c0ef65985d336e1a0790b6bb07ef7524ff6b2 Signed-off-by: STELIX <ssspinni@gmail.com>
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/display_rotation.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/res/xml/display_rotation.xml b/res/xml/display_rotation.xml
index d9afb8e..c6a3394 100644
--- a/res/xml/display_rotation.xml
+++ b/res/xml/display_rotation.xml
@@ -18,10 +18,10 @@
android:title="@string/display_rotation_title"
xmlns:settings="http://schemas.android.com/apk/res/com.android.settings">
- <CheckBoxPreference
+ <SwitchPreference
android:key="accelerometer"
android:title="@string/accelerometer_title" />
- <CheckBoxPreference
+ <SwitchPreference
android:key="lockscreen_rotation"
android:title="@string/display_lockscreen_rotation_title"
android:dependency="accelerometer" />