summaryrefslogtreecommitdiffstats
path: root/res
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
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')
-rw-r--r--res/values/cm_strings.xml5
-rw-r--r--res/xml/preferences_drawer.xml24
2 files changed, 22 insertions, 7 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml
index 511e0d527..136be542b 100644
--- a/res/values/cm_strings.xml
+++ b/res/values/cm_strings.xml
@@ -111,8 +111,13 @@
<string name="preferences_interface_drawer_summary">Apps and widgets drawer</string>
<string name="preferences_interface_drawer_orientation_title">Orientation</string>
<string name="preferences_interface_drawer_orientation_summary">Choose which way the drawer scrolls</string>
+ <string name="preferences_interface_drawer_apps_category">Apps</string>
<string name="preferences_interface_drawer_hidden_apps_title">Hidden apps</string>
<string name="preferences_interface_drawer_hidden_apps_summary">Hide apps from the drawer</string>
+ <string name="preferences_interface_drawer_hidden_apps_shortcuts_title">Hidden apps (shortcuts)</string>
+ <string name="preferences_interface_drawer_hidden_apps_shortcuts_summary">Remove hidden apps\'s shortcuts from workspace</string>
+ <string name="preferences_interface_drawer_hidden_apps_widgets_title">Hidden apps (widgets)</string>
+ <string name="preferences_interface_drawer_hidden_apps_widgets_summary">Remove hidden apps\'s widgets from workspace</string>
<string name="preferences_interface_drawer_widgets_category">Widgets</string>
<string name="preferences_interface_drawer_widgets_join_apps_title">Join with apps</string>
<string name="preferences_interface_drawer_widgets_join_apps_summary">Swipe from apps drawer to widgets drawer without changing tabs</string>
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"