summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorJorge Ruesga <jorge@ruesga.com>2013-06-25 03:18:31 +0200
committerJorge Ruesga <jorge@ruesga.com>2013-06-25 03:18:31 +0200
commit21d44da75e7b0d135033bab2aeab10f42b94ca8e (patch)
tree82f90d686846ec9a7e18f954f365c755d1af664f /res/xml
parent7fd44abee142349dc97570f50851cbf0629706ca (diff)
downloadandroid_packages_apps_Trebuchet-21d44da75e7b0d135033bab2aeab10f42b94ca8e.tar.gz
android_packages_apps_Trebuchet-21d44da75e7b0d135033bab2aeab10f42b94ca8e.tar.bz2
android_packages_apps_Trebuchet-21d44da75e7b0d135033bab2aeab10f42b94ca8e.zip
Trebuchet: Make remove workspace items of hidden apps optional
Change-Id: Id5c1f7a105d4140747a9f841b210cd7a7d1825df Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/preferences_drawer.xml24
1 files changed, 17 insertions, 7 deletions
diff --git a/res/xml/preferences_drawer.xml b/res/xml/preferences_drawer.xml
index 3b4a3ef21..82c589fe5 100644
--- a/res/xml/preferences_drawer.xml
+++ b/res/xml/preferences_drawer.xml
@@ -24,13 +24,23 @@
android:entries="@array/preferences_interface_drawer_orientation_entries"
android:entryValues="@array/preferences_interface_drawer_orientation_values"
android:defaultValue="horizontal" />
- <Preference android:key="ui_drawer_hidden_apps"
- android:title="@string/preferences_interface_drawer_hidden_apps_title"
- android:summary="@string/preferences_interface_drawer_hidden_apps_summary">
- <intent
- android:targetPackage="com.cyanogenmod.trebuchet"
- android:targetClass="com.cyanogenmod.trebuchet.preference.HiddenAppsActivity"/>
- </Preference>
+ <PreferenceCategory android:title="@string/preferences_interface_drawer_apps_category">
+ <Preference android:key="ui_drawer_hidden_apps"
+ android:title="@string/preferences_interface_drawer_hidden_apps_title"
+ android:summary="@string/preferences_interface_drawer_hidden_apps_summary">
+ <intent
+ android:targetPackage="com.cyanogenmod.trebuchet"
+ android:targetClass="com.cyanogenmod.trebuchet.preference.HiddenAppsActivity"/>
+ </Preference>
+ <CheckBoxPreference android:key="ui_drawer_remove_hidden_apps_shortcuts"
+ android:title="@string/preferences_interface_drawer_hidden_apps_shortcuts_title"
+ android:summary="@string/preferences_interface_drawer_hidden_apps_shortcuts_summary"
+ android:defaultValue="true" />
+ <CheckBoxPreference android:key="ui_drawer_remove_hidden_apps_widgets"
+ android:title="@string/preferences_interface_drawer_hidden_apps_widgets_title"
+ android:summary="@string/preferences_interface_drawer_hidden_apps_widgets_summary"
+ android:defaultValue="true" />
+ </PreferenceCategory>
<PreferenceCategory android:title="@string/preferences_interface_drawer_widgets_category">
<CheckBoxPreference android:key="ui_drawer_widgets_join_apps"
android:title="@string/preferences_interface_drawer_widgets_join_apps_title"