summaryrefslogtreecommitdiff
path: root/res/values/strings.xml
diff options
context:
space:
mode:
authorNancy Chen <nancychen@google.com>2015-08-18 16:39:02 -0700
committerNancy Chen <nancychen@google.com>2015-08-19 20:11:37 -0700
commit2d588b857347fda465a963742c4f61e4014f3441 (patch)
treed6124b35ffab0e725cdba1808e56650d043525f7 /res/values/strings.xml
parent4e5df6b3a264cceba8774f6704697312b35f329d (diff)
Show snackbar to undo last deleted voicemail.
Snackbar will appear for 3 seconds during which the user can undo the last deletion. The way it works is the snackbar appears for 3 seconds and a delayed callback is set for 3 seconds after which the voicemail is permanently deleted from the database. If a second (or third or fourth) voicemail is deleted subsequently, the previous voicemails that were waiting for the undo timeout are deleted immediately. Bug: 22460745 Change-Id: I84b70994275975e4e3020321884d382cc87098dc
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r--res/values/strings.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index a80153c29..b06204704 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -64,6 +64,12 @@
<!-- Menu item used to delete a voicemail. [CHAR LIMIT=30] -->
<string name="call_log_trash_voicemail">Delete voicemail</string>
+ <!-- Text for snackbar to undo a voicemail delete. [CHAR LIMIT=20] -->
+ <string name="snackbar_voicemail_deleted">Voicemail deleted</string>
+
+ <!-- Text for undo button in snackbar for voicemail deletion. [CHAR LIMIT=10] -->
+ <string name="snackbar_voicemail_deleted_undo">UNDO</string>
+
<!-- Title of the confirmation dialog for clearing the call log. [CHAR LIMIT=37] -->
<string name="clearCallLogConfirmation_title">Clear call history?</string>