diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-06-25 03:18:31 +0200 |
---|---|---|
committer | Jorge Ruesga <jorge@ruesga.com> | 2013-06-25 03:18:31 +0200 |
commit | 21d44da75e7b0d135033bab2aeab10f42b94ca8e (patch) | |
tree | 82f90d686846ec9a7e18f954f365c755d1af664f /res/xml | |
parent | 7fd44abee142349dc97570f50851cbf0629706ca (diff) | |
download | packages_apps_trebuchet-21d44da75e7b0d135033bab2aeab10f42b94ca8e.zip packages_apps_trebuchet-21d44da75e7b0d135033bab2aeab10f42b94ca8e.tar.gz packages_apps_trebuchet-21d44da75e7b0d135033bab2aeab10f42b94ca8e.tar.bz2 |
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.xml | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/res/xml/preferences_drawer.xml b/res/xml/preferences_drawer.xml index 3b4a3ef..82c589f 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" |