diff options
author | Tony Wickham <twickham@google.com> | 2017-01-20 09:38:25 -0800 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2017-01-25 17:36:31 -0800 |
commit | 9438ed414fdabadb4cd09da184867b1c44b91095 (patch) | |
tree | 9d84de236a89cde247b9de8f11408e815e6d6702 /res/values/strings.xml | |
parent | f3d02e4716f89d14d9017851db9ad6141ad26875 (diff) | |
download | android_packages_apps_Trebuchet-9438ed414fdabadb4cd09da184867b1c44b91095.tar.gz android_packages_apps_Trebuchet-9438ed414fdabadb4cd09da184867b1c44b91095.tar.bz2 android_packages_apps_Trebuchet-9438ed414fdabadb4cd09da184867b1c44b91095.zip |
Add swipe-to-dismiss notifications in popup menu.
- Next secondary icon animates up to replace dismissed main notification
- Add padding around main notification so it always aligns with the
straight edges of the view (not the rounded corners); looks more
dismissable
- Notification view collapses as notifications are dismissed
- To mimic system notification behavior, we copy SwipeHelper,
FlingAnimationUtils, and Interpolators. We also apply elevation
to notifications and reveal a darker color beneath when dismissing.
Bug: 32410600
Change-Id: I9fbf10e73bb4996f17ef061c856efb013967d972
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r-- | res/values/strings.xml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index f1de62378..a6f44f637 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -67,6 +67,13 @@ <!-- Label for the button which allows the user to get app search results. [CHAR_LIMIT=50] --> <string name="all_apps_search_market_message">Search for more apps</string> + <!-- Deep items --> + <!-- Text to indicate more items that couldn't be displayed due to space constraints. + The text must fit in the size of a small icon [CHAR_LIMIT=3] --> + <string name="deep_notifications_overflow" translatable="false">+%1$d</string> + <!-- Text to display as the header above notifications. [CHAR_LIMIT=30] --> + <string name="notifications_header" translatable="false">Notifications</string> + <!-- Drag and drop --> <skip /> <!-- Error message when user has filled a home screen --> |