diff options
author | Joey Rizzoli <joey@lineageos.org> | 2017-11-10 21:45:09 +0100 |
---|---|---|
committer | Arne Coucheron <arco68@gmail.com> | 2018-01-19 00:27:13 +0100 |
commit | 6a4b5ff6292360a34f6a6b33cb51f83d5ce82661 (patch) | |
tree | 3799b978ff269e9dbe2fb0c13ddcd82af186c3b6 /res | |
parent | 97105a6eb4de7a9ec0509b5c60c05ab0f4aef08c (diff) | |
download | android_packages_apps_Trebuchet-6a4b5ff6292360a34f6a6b33cb51f83d5ce82661.tar.gz android_packages_apps_Trebuchet-6a4b5ff6292360a34f6a6b33cb51f83d5ce82661.tar.bz2 android_packages_apps_Trebuchet-6a4b5ff6292360a34f6a6b33cb51f83d5ce82661.zip |
Trebuchet: add toggle for desktop and drawer labels
Signed-off-by: Joey Rizzoli <joey@lineageos.org>
Diffstat (limited to 'res')
-rw-r--r-- | res/values/lineage_strings.xml | 4 | ||||
-rw-r--r-- | res/xml/launcher_preferences.xml | 12 |
2 files changed, 16 insertions, 0 deletions
diff --git a/res/values/lineage_strings.xml b/res/values/lineage_strings.xml index c96dc5af2..af71c9f64 100644 --- a/res/values/lineage_strings.xml +++ b/res/values/lineage_strings.xml @@ -36,4 +36,8 @@ <string name="grid_size_columns">Columns</string> <string name="grid_size_custom_positive">Set</string> <string name="grid_size_custom_message">Select custom columns and rows count</string> + + <!-- Hide labels --> + <string name="desktop_show_labels">Show icon labels on desktop</string> + <string name="drawer_show_labels">Show icon labels in drawer</string> </resources> diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml index 2281ab5ad..f4663935d 100644 --- a/res/xml/launcher_preferences.xml +++ b/res/xml/launcher_preferences.xml @@ -71,4 +71,16 @@ android:key="pref_grid_size" android:title="@string/grid_size_text" android:persistent="true" /> + + <SwitchPreference + android:key="pref_desktop_show_labels" + android:title="@string/desktop_show_labels" + android:defaultValue="true" + android:persistent="true" /> + + <SwitchPreference + android:key="pref_drawer_show_labels" + android:title="@string/drawer_show_labels" + android:defaultValue="true" + android:persistent="true" /> </PreferenceScreen> |