summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2020-01-28 17:26:39 +0100
committerLuK1337 <priv.luk@gmail.com>2020-03-15 14:35:26 +0100
commitc15927ba5820da0e6a1f7a611f930970f0d90814 (patch)
tree723a054aa0974961906b7b9d13907b9a34a63885 /res
parent6888306888dc17e9d90afb11be523d3d3b894780 (diff)
downloadandroid_packages_apps_Trebuchet-c15927ba5820da0e6a1f7a611f930970f0d90814.tar.gz
android_packages_apps_Trebuchet-c15927ba5820da0e6a1f7a611f930970f0d90814.tar.bz2
android_packages_apps_Trebuchet-c15927ba5820da0e6a1f7a611f930970f0d90814.zip
Trebuchet: Allow enabling icon labels for landscape mode
Change-Id: I620ffd7727de367e52c2a70c05d5b6fcc04285bb
Diffstat (limited to 'res')
-rw-r--r--res/values/lineage_strings.xml1
-rw-r--r--res/xml/launcher_preferences.xml6
2 files changed, 7 insertions, 0 deletions
diff --git a/res/values/lineage_strings.xml b/res/values/lineage_strings.xml
index ef62affa6..2e602ffb4 100644
--- a/res/values/lineage_strings.xml
+++ b/res/values/lineage_strings.xml
@@ -38,6 +38,7 @@
<!-- Hide labels -->
<string name="desktop_show_labels">Show icon labels on desktop</string>
<string name="drawer_show_labels">Show icon labels in drawer</string>
+ <string name="show_labels_landscape">Show icon labels in landscape mode</string>
<!-- Trust apps -->
<string name="trust_apps_manager_name">Hidden &amp; Protected apps</string>
diff --git a/res/xml/launcher_preferences.xml b/res/xml/launcher_preferences.xml
index 3df481c88..b9801fe4d 100644
--- a/res/xml/launcher_preferences.xml
+++ b/res/xml/launcher_preferences.xml
@@ -79,4 +79,10 @@
android:title="@string/drawer_show_labels"
android:defaultValue="true"
android:persistent="true" />
+
+ <SwitchPreference
+ android:key="pref_show_labels_landscape"
+ android:title="@string/show_labels_landscape"
+ android:defaultValue="false"
+ android:persistent="true" />
</androidx.preference.PreferenceScreen>