Skip to content

Commit

Permalink
Slim Recents settings: add hints footer
Browse files Browse the repository at this point in the history
Change-Id: Ia611ab4dd81cf7819b5e37ded4626dc7346c62ba
Signed-off-by: AKabhishek <abhishekkaushik.star@gmail.com>
  • Loading branch information
ezio84 authored and AKabhishek committed Mar 9, 2018
1 parent 1becf07 commit 11fcca5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions res/values/strings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,9 @@
<string name="ok">Okay</string>
<string name="reset">Reset</string>

<!-- Footer warnings -->
<string name="slim_recents_hints_footer">To clear all apps, pinch-in with two fingers on the panel. To block an app from being cleared, long press on its icon to star it.\n\nFor additional recents features such as multiwindow or to kill an app, long press on any app window in the panel.</string>

<!-- Button brightness -->
<string name="button_backlight_options_category">Backlight options</string>
<string name="button_backlight_enable_title">Allow button backlight</string>
Expand Down
2 changes: 2 additions & 0 deletions src/com/aos/laboratory/cat/SlimRecentsPanel.java
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,8 @@ public void onCreate(Bundle savedInstanceState) {
initializeAllPreferences();

setHasOptionsMenu(true);

mFooterPreferenceMixin.createFooterPreference().setTitle(R.string.slim_recents_hints_footer);
}

@Override
Expand Down

0 comments on commit 11fcca5

Please sign in to comment.