Skip to content
This repository was archived by the owner on Dec 17, 2023. It is now read-only.

Commit 52056a7

Browse files
committed
add summaries to settings categories
1 parent 5ce8e2b commit 52056a7

File tree

2 files changed

+19
-0
lines changed

2 files changed

+19
-0
lines changed

res/values/lean_strings.xml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,14 @@
282282
<string name="clear_custom_icon">Clear custom icon</string>
283283
<string name="custom_icon_cleared">Custom icon cleared!</string>
284284

285+
<string name="at_a_glance_summary">Weather, calendar events, etc</string>
286+
<string name="feed_summary">Google Feed at a swipe</string>
287+
<string name="search_summary">App and Google search</string>
288+
<string name="look_and_feel_summary">Theme, grid sizes</string>
289+
<string name="edit_apps_summary">App visibility, icons</string>
290+
<string name="gestures_and_actions_summary">Swipe, double tap, etc</string>
291+
<string name="shortcuts_summary">App shortcut visibility</string>
292+
<string name="other_summary">General settings</string>
293+
<string name="about_summary">Lean Launcher</string>
294+
285295
</resources>

res/xml/launcher_preferences.xml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
<PreferenceScreen
3333
android:icon="@drawable/ic_assistant_no_shadow"
3434
android:key="pref_smartspace_screen"
35+
android:summary="@string/at_a_glance_summary"
3536
android:title="@string/at_a_glance_category">
3637

3738
<SwitchPreference
@@ -72,6 +73,7 @@
7273
<PreferenceScreen
7374
android:icon="@drawable/ic_rss_feed_no_shadow"
7475
android:key="pref_feed_screen"
76+
android:summary="@string/feed_summary"
7577
android:title="@string/feed_category">
7678

7779
<SwitchPreference
@@ -96,6 +98,7 @@
9698
<PreferenceScreen
9799
android:icon="@drawable/ic_search_no_shadow"
98100
android:key="pref_search_screen"
101+
android:summary="@string/search_summary"
99102
android:title="@string/search_category">
100103

101104
<PreferenceCategory
@@ -173,6 +176,7 @@
173176
<PreferenceScreen
174177
android:icon="@drawable/ic_palette_no_shadow"
175178
android:key="pref_look_and_feel_screen"
179+
android:summary="@string/look_and_feel_summary"
176180
android:title="@string/look_and_feel_category">
177181

178182
<PreferenceCategory
@@ -280,6 +284,7 @@
280284
<PreferenceScreen
281285
android:icon="@drawable/ic_edit_black_no_shadow"
282286
android:key="pref_edit_apps_screen"
287+
android:summary="@string/edit_apps_summary"
283288
android:title="@string/edit_apps_category">
284289

285290
<PreferenceCategory
@@ -380,6 +385,7 @@
380385
<PreferenceScreen
381386
android:icon="@drawable/ic_gesture_no_shadow"
382387
android:key="pref_gestures"
388+
android:summary="@string/gestures_and_actions_summary"
383389
android:title="@string/gestures_and_actions">
384390

385391
<PreferenceCategory
@@ -444,6 +450,7 @@
444450
<PreferenceScreen
445451
android:icon="@drawable/ic_shortcut_no_shadow"
446452
android:key="pref_shortcut_screen"
453+
android:summary="@string/shortcuts_summary"
447454
android:title="@string/shortcuts_title">
448455

449456
<PreferenceCategory
@@ -493,6 +500,7 @@
493500
<PreferenceScreen
494501
android:icon="@drawable/ic_dashboard_no_shadow"
495502
android:key="pref_other_screen"
503+
android:summary="@string/other_summary"
496504
android:title="@string/other_category">
497505

498506
<SwitchPreference
@@ -534,6 +542,7 @@
534542
<PreferenceScreen
535543
android:icon="@drawable/ic_info_outline_no_shadow"
536544
android:key="pref_about_screen"
545+
android:summary="@string/about_summary"
537546
android:title="@string/about">
538547

539548
<Preference

0 commit comments

Comments
 (0)