From c16c2813059bcf5550e771a98429342a0cb6b698 Mon Sep 17 00:00:00 2001 From: Alina Zaidi Date: Fri, 30 Apr 2021 10:23:26 +0100 Subject: [PATCH] Fix few A11y/ UI bugs for widget pickers - Add a subtext in pin widget dialog informing users how to add widget manually. This is not important for accessibility, as drag and drop is through an action item for visually impaired users. - Update search bar text hint color so that it passes accessibility test. Bug: 182994384 Bug: 182993604 Test: Manually Tested using accessibility scanner app and talkback Change-Id: I5a49d0bc3e5973b76c41b2a178af509e96a3cdd7 --- res/layout/add_item_confirmation_activity.xml | 9 +++++++++ res/layout/widgets_search_bar.xml | 2 +- res/values/strings.xml | 5 +++-- 3 files changed, 13 insertions(+), 3 deletions(-) diff --git a/res/layout/add_item_confirmation_activity.xml b/res/layout/add_item_confirmation_activity.xml index 3f45746c5f..7c2f25b831 100644 --- a/res/layout/add_item_confirmation_activity.xml +++ b/res/layout/add_item_confirmation_activity.xml @@ -36,6 +36,15 @@ android:singleLine="true" android:maxLines="1" /> + + + android:textColorHint="?android:attr/textColorSecondary"/> %1$d \u00d7 %2$d %1$d wide by %2$d high - - Touch & hold to place manually + + Touch & hold the widget to move it around the Home screen Add to Home screen