summaryrefslogtreecommitdiffstats
path: root/res/values/strings.xml
diff options
context:
space:
mode:
authorTony Wickham <twickham@google.com>2018-09-06 15:44:17 -0700
committerTony Wickham <twickham@google.com>2018-09-11 15:35:47 -0700
commit08c7cd562533abfddd678ed9a1c3c04e3e6b0d9d (patch)
treec4d5b785a6b360277114f68d756020621e0bcadb /res/values/strings.xml
parent447036d0d70ec90d05ad5ab25499fabefda6245b (diff)
downloadandroid_packages_apps_Trebuchet-08c7cd562533abfddd678ed9a1c3c04e3e6b0d9d.tar.gz
android_packages_apps_Trebuchet-08c7cd562533abfddd678ed9a1c3c04e3e6b0d9d.tar.bz2
android_packages_apps_Trebuchet-08c7cd562533abfddd678ed9a1c3c04e3e6b0d9d.zip
Update undo snackbar visuals
- Use accent color for action - Update font-family to use TextTitle style - Reduce elevation to 3dp - Inset snackbar left/right margins more, unless we need to increase the width to fit the text - For largest display/font size, fallback to 2 lines and smaller font if necessary to not cut off the label - Remove top/bottom padding on action (b/114084048) - Allow up to 20 char for the action (b/114317987) Change-Id: I833c102aaac3ba3db2283997c142926c3830336d
Diffstat (limited to 'res/values/strings.xml')
-rw-r--r--res/values/strings.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index 6d73dcbd1..eb6b28413 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -262,7 +262,7 @@
<!-- 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] -->
+ <!-- Action shown in snackbar to undo item removal. [CHAR_LIMIT=20] -->
<string name="undo">Undo</string>
<!-- Accessibility action to move an item on the workspace. [CHAR_LIMIT=30] -->