summaryrefslogtreecommitdiffstats
path: root/res/layout
diff options
context:
space:
mode:
authorTony Mak <tonymak@google.com>2018-03-19 18:23:17 +0000
committerTony Mak <tonymak@google.com>2018-03-19 18:24:23 +0000
commit913a7da58c9cc524d1f15c848ff5a3306bcce6f1 (patch)
treee6939d6a0581d2690fa58c2ce02ff879b6c6fd67 /res/layout
parentbac14afd1e69ab6256e151806ccad39a3257fc93 (diff)
downloadandroid_packages_apps_Trebuchet-913a7da58c9cc524d1f15c848ff5a3306bcce6f1.tar.gz
android_packages_apps_Trebuchet-913a7da58c9cc524d1f15c848ff5a3306bcce6f1.tar.bz2
android_packages_apps_Trebuchet-913a7da58c9cc524d1f15c848ff5a3306bcce6f1.zip
Accessibility improvement around blue user education card
1. Group the entire card into one element 2. Add label for close button 3. Announce closed when the card is gone FIXES: 74517054 Change-Id: I8fe41d4c5e88276460c3f0486168f0ef56d8fb60
Diffstat (limited to 'res/layout')
-rw-r--r--res/layout/work_tab_bottom_user_education_view.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/res/layout/work_tab_bottom_user_education_view.xml b/res/layout/work_tab_bottom_user_education_view.xml
index dc6854ed1..ba6a93942 100644
--- a/res/layout/work_tab_bottom_user_education_view.xml
+++ b/res/layout/work_tab_bottom_user_education_view.xml
@@ -20,6 +20,7 @@
android:layout_gravity="bottom"
android:background="?android:attr/colorAccent"
android:elevation="2dp"
+ android:focusable="true"
android:orientation="horizontal">
<ImageView
@@ -42,6 +43,7 @@
android:layout_marginTop="12dp"
android:layout_marginEnd="12dp"
android:layout_gravity="right"
+ android:contentDescription="@string/bottom_work_tab_user_education_close_button"
android:src="@drawable/ic_close"/>
<TextView