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

Commit

Permalink
add summaries to settings categories
Browse files Browse the repository at this point in the history
  • Loading branch information
hundeva committed May 16, 2018
1 parent 5ce8e2b commit 52056a7
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
10 changes: 10 additions & 0 deletions res/values/lean_strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -282,4 +282,14 @@
<string name="clear_custom_icon">Clear custom icon</string>
<string name="custom_icon_cleared">Custom icon cleared!</string>

<string name="at_a_glance_summary">Weather, calendar events, etc</string>
<string name="feed_summary">Google Feed at a swipe</string>
<string name="search_summary">App and Google search</string>
<string name="look_and_feel_summary">Theme, grid sizes</string>
<string name="edit_apps_summary">App visibility, icons</string>
<string name="gestures_and_actions_summary">Swipe, double tap, etc</string>
<string name="shortcuts_summary">App shortcut visibility</string>
<string name="other_summary">General settings</string>
<string name="about_summary">Lean Launcher</string>

</resources>
9 changes: 9 additions & 0 deletions res/xml/launcher_preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
<PreferenceScreen
android:icon="@drawable/ic_assistant_no_shadow"
android:key="pref_smartspace_screen"
android:summary="@string/at_a_glance_summary"
android:title="@string/at_a_glance_category">

<SwitchPreference
Expand Down Expand Up @@ -72,6 +73,7 @@
<PreferenceScreen
android:icon="@drawable/ic_rss_feed_no_shadow"
android:key="pref_feed_screen"
android:summary="@string/feed_summary"
android:title="@string/feed_category">

<SwitchPreference
Expand All @@ -96,6 +98,7 @@
<PreferenceScreen
android:icon="@drawable/ic_search_no_shadow"
android:key="pref_search_screen"
android:summary="@string/search_summary"
android:title="@string/search_category">

<PreferenceCategory
Expand Down Expand Up @@ -173,6 +176,7 @@
<PreferenceScreen
android:icon="@drawable/ic_palette_no_shadow"
android:key="pref_look_and_feel_screen"
android:summary="@string/look_and_feel_summary"
android:title="@string/look_and_feel_category">

<PreferenceCategory
Expand Down Expand Up @@ -280,6 +284,7 @@
<PreferenceScreen
android:icon="@drawable/ic_edit_black_no_shadow"
android:key="pref_edit_apps_screen"
android:summary="@string/edit_apps_summary"
android:title="@string/edit_apps_category">

<PreferenceCategory
Expand Down Expand Up @@ -380,6 +385,7 @@
<PreferenceScreen
android:icon="@drawable/ic_gesture_no_shadow"
android:key="pref_gestures"
android:summary="@string/gestures_and_actions_summary"
android:title="@string/gestures_and_actions">

<PreferenceCategory
Expand Down Expand Up @@ -444,6 +450,7 @@
<PreferenceScreen
android:icon="@drawable/ic_shortcut_no_shadow"
android:key="pref_shortcut_screen"
android:summary="@string/shortcuts_summary"
android:title="@string/shortcuts_title">

<PreferenceCategory
Expand Down Expand Up @@ -493,6 +500,7 @@
<PreferenceScreen
android:icon="@drawable/ic_dashboard_no_shadow"
android:key="pref_other_screen"
android:summary="@string/other_summary"
android:title="@string/other_category">

<SwitchPreference
Expand Down Expand Up @@ -534,6 +542,7 @@
<PreferenceScreen
android:icon="@drawable/ic_info_outline_no_shadow"
android:key="pref_about_screen"
android:summary="@string/about_summary"
android:title="@string/about">

<Preference
Expand Down

0 comments on commit 52056a7

Please sign in to comment.