From 2a422f719b70f6c292b954fb24f324b7f4ac1858 Mon Sep 17 00:00:00 2001 From: yueg Date: Wed, 24 Jan 2018 15:20:10 -0800 Subject: Bubble v2 a11y. - Set checkable for bubble buttons so the check status of non checkable button (back to call, end call) is not read. - Add support for bottom action buttons. Test: manual PiperOrigin-RevId: 183150371 Change-Id: Ifae9c912ec923e8d2cda3146413138bd2eb94b47 --- java/com/android/newbubble/res/layout/bottom_action_base.xml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'java/com/android/newbubble/res/layout') diff --git a/java/com/android/newbubble/res/layout/bottom_action_base.xml b/java/com/android/newbubble/res/layout/bottom_action_base.xml index 8f7ba753e..b4d7c891e 100644 --- a/java/com/android/newbubble/res/layout/bottom_action_base.xml +++ b/java/com/android/newbubble/res/layout/bottom_action_base.xml @@ -20,7 +20,8 @@ android:weightSum="2" android:orientation="horizontal" android:gravity="center" - android:background="@drawable/bottom_action_scrim"> + android:background="@drawable/bottom_action_scrim" + android:contentDescription="@string/a11y_bubble_bottom_action_description"> + android:gravity="center" + android:contentDescription="@string/bubble_bottom_action_hide"> + android:gravity="center" + android:contentDescription="@string/bubble_bottom_action_end_call">