diff options
Diffstat (limited to 'res')
-rw-r--r-- | res/values/cm_strings.xml | 5 | ||||
-rw-r--r-- | res/xml/preferences_drawer.xml | 24 |
2 files changed, 22 insertions, 7 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 511e0d52..136be542 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 3b4a3ef2..82c589fe 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" |