From a235e13a46c06741ee8634c5d8d1d4766e916ccc Mon Sep 17 00:00:00 2001 From: yueg Date: Wed, 13 Dec 2017 14:13:57 -0800 Subject: Bubble v2 accessibility. Add description and action for primary button and expanded view action buttons. Bug: 67605985 Test: manual PiperOrigin-RevId: 178955927 Change-Id: I43ad24334cb1e1676cbc390cdba5465ded1464b5 --- .../newbubble/res/layout/new_bubble_base.xml | 1 + java/com/android/newbubble/res/values/strings.xml | 27 ++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 java/com/android/newbubble/res/values/strings.xml (limited to 'java/com/android/newbubble/res') diff --git a/java/com/android/newbubble/res/layout/new_bubble_base.xml b/java/com/android/newbubble/res/layout/new_bubble_base.xml index 8d4771631..216dce0d2 100644 --- a/java/com/android/newbubble/res/layout/new_bubble_base.xml +++ b/java/com/android/newbubble/res/layout/new_bubble_base.xml @@ -38,6 +38,7 @@ android:layout_marginEnd="@dimen/bubble_shadow_padding_size_horizontal" android:layout_marginTop="@dimen/bubble_shadow_padding_size_vertical" android:layout_marginBottom="@dimen/bubble_shadow_padding_size_vertical" + android:contentDescription="@string/a11y_bubble_description" android:background="@drawable/bubble_shape_circle" android:measureAllChildren="false" android:elevation="@dimen/bubble_elevation" diff --git a/java/com/android/newbubble/res/values/strings.xml b/java/com/android/newbubble/res/values/strings.xml new file mode 100644 index 000000000..5b82b181f --- /dev/null +++ b/java/com/android/newbubble/res/values/strings.xml @@ -0,0 +1,27 @@ + + + + + + Dialer bubble + + Expand call action menu + + Collapse call action menu + \ No newline at end of file -- cgit v1.2.3