From 675b2b674828fd6fd2eb4709af7e7d34dd911808 Mon Sep 17 00:00:00 2001 From: Hyunyoung Song Date: Wed, 7 Jul 2021 13:51:59 -0700 Subject: [PATCH 1/3] Accessibility bug fixes for the snack bar Bug: 192639465 Bug: 192598846 Test: scanned using accessibility scanner and verified no issue detected Change-Id: If776a68f7c4c421cdb51ec3eb4f05648ab1ed5c1 --- res/drawable/padded_rounded_action_button.xml | 30 +++++++++++++++++++ res/values/dimens.xml | 2 ++ 2 files changed, 32 insertions(+) create mode 100644 res/drawable/padded_rounded_action_button.xml diff --git a/res/drawable/padded_rounded_action_button.xml b/res/drawable/padded_rounded_action_button.xml new file mode 100644 index 0000000000..900f5fcf8c --- /dev/null +++ b/res/drawable/padded_rounded_action_button.xml @@ -0,0 +1,30 @@ + + + + + + + + + + + + + diff --git a/res/values/dimens.xml b/res/values/dimens.xml index 2a2cf89459..4735983eaf 100644 --- a/res/values/dimens.xml +++ b/res/values/dimens.xml @@ -128,6 +128,8 @@ 16sp 16dp + + 48dp 32dp 16dp 8dp From 9be8d842bde2d7c0eb1807fad1504f298dbe5d4b Mon Sep 17 00:00:00 2001 From: Jon Spivack Date: Fri, 2 Jul 2021 13:55:34 -0700 Subject: [PATCH 2/3] NIU Actions: Add strings for assistant error dialogs and feature tooltip The assistant error strings will be used in dialogs that appear when the user clicks the NIU Actions buttons without an appropriate default assistant set on the device. The tooltips will appear to highlight and explain the feature for first-time users. Adding the strings before the dialogs themselves in order to unblock translation efforts. Bug: 192505939 Bug: 186006700 Test: Manual (code builds, existing strings unchanged on device) Change-Id: I2c37b5871545e99a6bba8d060c927cbd29ef5081 --- .../niu_actions_confirmation_dialog.xml | 4 +-- go/quickstep/res/values/strings.xml | 29 ++++++++++++++++--- 2 files changed, 27 insertions(+), 6 deletions(-) diff --git a/go/quickstep/res/layout/niu_actions_confirmation_dialog.xml b/go/quickstep/res/layout/niu_actions_confirmation_dialog.xml index db1531ac58..5dbcca5a45 100644 --- a/go/quickstep/res/layout/niu_actions_confirmation_dialog.xml +++ b/go/quickstep/res/layout/niu_actions_confirmation_dialog.xml @@ -76,12 +76,12 @@