summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-04-29 00:59:24 +0200
committerNebojsa Cvetkovic <nebkat@gmail.com>2013-04-29 13:48:59 +0100
commitbd9793a7c059a616745f636128c665860d78ed8d (patch)
tree7073cbedf336824693edf96dc66b8b6d6a4dcc9f /res/xml
parentb76a4e1cd7734e35b779615d337e22b6c65648ee (diff)
downloadandroid_packages_apps_Trebuchet-bd9793a7c059a616745f636128c665860d78ed8d.tar.gz
android_packages_apps_Trebuchet-bd9793a7c059a616745f636128c665860d78ed8d.tar.bz2
android_packages_apps_Trebuchet-bd9793a7c059a616745f636128c665860d78ed8d.zip
Trebuchet: Lock homescreen
Allow lock shortcuts and folders positions in the workspace, hotseat and apps and widgets drawer. When is enabled the system avoids to move any shortcut or folder, change its names and access to widgets. Patchset 2: Fixed typo Change-Id: I832da526cf1eb32752218656a7c2dafc53010236 JIRA: CYAN-686 Issue: https://jira.cyanogenmod.org/browse/CYAN-686 Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/preferences_general.xml6
1 files changed, 5 insertions, 1 deletions
diff --git a/res/xml/preferences_general.xml b/res/xml/preferences_general.xml
index abe0cf881..61a297b16 100644
--- a/res/xml/preferences_general.xml
+++ b/res/xml/preferences_general.xml
@@ -20,7 +20,11 @@
android:title="@string/preferences_interface_general_title">
<CheckBoxPreference android:key="ui_general_orientation"
android:title="@string/preferences_interface_general_orientation_title" />
+ <CheckBoxPreference android:key="ui_general_lock_workspace"
+ android:title="@string/preferences_interface_general_lock_workspace_title"
+ android:summary="@string/preferences_interface_general_lock_workspace_summary"
+ android:defaultValue="@bool/lock_workspace" />
<CheckBoxPreference android:key="ui_general_fullscreen"
android:title="@string/preferences_interface_general_fullscreen_title"
android:summary="@string/preferences_interface_general_fullscreen_summary" />
-</PreferenceScreen> \ No newline at end of file
+</PreferenceScreen>