diff options
author | Tony Wickham <twickham@google.com> | 2018-08-21 11:40:23 -0700 |
---|---|---|
committer | Tony Wickham <twickham@google.com> | 2018-08-30 16:22:25 -0700 |
commit | 6a71a5bd7787a2dc4a585e9e6ea0a440d0458a54 (patch) | |
tree | b3bdc0c63c2540f57042c0d09d82786ec8d1869c /res/values/strings.xml | |
parent | 1654c9e1c00cb41de392880adf7c3a5a558270b3 (diff) | |
download | android_packages_apps_Trebuchet-6a71a5bd7787a2dc4a585e9e6ea0a440d0458a54.tar.gz android_packages_apps_Trebuchet-6a71a5bd7787a2dc4a585e9e6ea0a440d0458a54.tar.bz2 android_packages_apps_Trebuchet-6a71a5bd7787a2dc4a585e9e6ea0a440d0458a54.zip |
Add undo snackbar for deleting items
- Add methods to ModelWriter to prepareForUndoDelete, then
enqueueDeleteRunnable, followed by commitDelete or abortDelete.
- Add Snackbar floating view
- Show Undo snackbar when dropping or flinging to delete target; if the
undo action is clicked, we abort the delete, otherwise we commit it.
Bug: 24238108
Change-Id: I9997235e1f8525cbb8b1fa2338099609e7358426
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r-- | res/values/strings.xml | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml index 7bc11c3be..6d73dcbd1 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -259,9 +259,12 @@ <!-- Accessibility confirmation for item added to workspace. --> <string name="item_added_to_workspace">Item added to home screen</string> - <!-- Accessibility confirmation for item removed. --> + <!-- Accessibility confirmation for item removed. [CHAR_LIMIT=50]--> <string name="item_removed">Item removed</string> + <!-- Action shown in snackbar to undo item removal. [CHAR_LIMIT=15] --> + <string name="undo">Undo</string> + <!-- Accessibility action to move an item on the workspace. [CHAR_LIMIT=30] --> <string name="action_move">Move item</string> |