summaryrefslogtreecommitdiffstats
path: root/res/xml
diff options
context:
space:
mode:
authorFlamefire <alex@grundis.de>2014-04-02 20:02:43 +0200
committerFlamefire <alex@grundis.de>2014-04-22 19:40:44 +0200
commit45936b33b0e03b1f3111a0bfaa61344cd10b2cd1 (patch)
tree55d20ae5f55397e9e28275a4e987774d1b18c4f4 /res/xml
parent6a43e660cce2cda206f4fecf3ed4ecf9dce8f326 (diff)
downloadandroid_packages_apps_Trebuchet-45936b33b0e03b1f3111a0bfaa61344cd10b2cd1.tar.gz
android_packages_apps_Trebuchet-45936b33b0e03b1f3111a0bfaa61344cd10b2cd1.tar.bz2
android_packages_apps_Trebuchet-45936b33b0e03b1f3111a0bfaa61344cd10b2cd1.zip
Add options to hide icon labels from drawer and homescreen
Forward port from CM 10.2 PS3: Fix typo PS4: Rebase and global defaults PS8: Rebase to head Issue: There is already an Icon section in general, move both settings there or leave separate in their categories? Change-Id: I90ae4d2357e5f45fa9261c4eaa0fcf287996e327
Diffstat (limited to 'res/xml')
-rw-r--r--res/xml/preferences_drawer.xml6
-rw-r--r--res/xml/preferences_homescreen.xml4
2 files changed, 10 insertions, 0 deletions
diff --git a/res/xml/preferences_drawer.xml b/res/xml/preferences_drawer.xml
index c59d6b7fe..b22597516 100644
--- a/res/xml/preferences_drawer.xml
+++ b/res/xml/preferences_drawer.xml
@@ -33,4 +33,10 @@
android:summary="@string/preferences_interface_drawer_hidden_apps_widgets_summary"
android:defaultValue="@bool/preferences_interface_drawer_remove_hidden_apps_widgets_default" />
</PreferenceCategory>
+ <PreferenceCategory android:title="@string/preferences_interface_general_icons_category">
+ <CheckBoxPreference android:key="ui_drawer_hide_icon_labels"
+ android:title="@string/preferences_interface_drawer_hide_icon_labels_title"
+ android:summary="@string/preferences_interface_drawer_hide_icon_labels_summary"
+ android:defaultValue="@bool/preferences_interface_drawer_hide_icon_labels_default" />
+ </PreferenceCategory>
</PreferenceScreen> \ No newline at end of file
diff --git a/res/xml/preferences_homescreen.xml b/res/xml/preferences_homescreen.xml
index 8b2652b9a..4671a8a4a 100644
--- a/res/xml/preferences_homescreen.xml
+++ b/res/xml/preferences_homescreen.xml
@@ -22,4 +22,8 @@
android:title="@string/preferences_interface_homescreen_search_title"
android:summary="@string/preferences_interface_homescreen_search_summary"
android:defaultValue="@bool/preferences_interface_homescreen_search_default" />
+ <CheckBoxPreference android:key="ui_homescreen_general_hide_icon_labels"
+ android:title="@string/preferences_interface_homescreen_general_hide_icon_labels_title"
+ android:summary="@string/preferences_interface_homescreen_general_hide_icon_labels_summary"
+ android:defaultValue="@bool/preferences_interface_homescreen_hide_icon_labels" />
</PreferenceScreen>