diff options
Diffstat (limited to 'java/com/android/newbubble/res')
-rw-r--r-- | java/com/android/newbubble/res/layout/bottom_action_base.xml | 9 | ||||
-rw-r--r-- | java/com/android/newbubble/res/values/strings.xml | 2 |
2 files changed, 8 insertions, 3 deletions
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"> <!-- Add space to make sure text is not off screen when scaled. (1 - 1/1.3) / 2 ~= 0.11 --> <View @@ -33,7 +34,8 @@ android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.78" - android:gravity="center"> + android:gravity="center" + android:contentDescription="@string/bubble_bottom_action_hide"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" @@ -60,7 +62,8 @@ android:layout_width="0dp" android:layout_height="match_parent" android:layout_weight="0.78" - android:gravity="center"> + android:gravity="center" + android:contentDescription="@string/bubble_bottom_action_end_call"> <TextView android:layout_width="wrap_content" android:layout_height="wrap_content" diff --git a/java/com/android/newbubble/res/values/strings.xml b/java/com/android/newbubble/res/values/strings.xml index 08c685ee2..7ef61cecc 100644 --- a/java/com/android/newbubble/res/values/strings.xml +++ b/java/com/android/newbubble/res/values/strings.xml @@ -18,6 +18,8 @@ <resources> <!-- A string for Talkback to read when accessibility user touch bubble. --> <string name="a11y_bubble_description">Dialer bubble</string> + <!-- A string to describe bubble bottom actions for accessibility user. --> + <string name="a11y_bubble_bottom_action_description">Bottom action buttons</string> <!-- A string to describe available action for accessibility user. It will be read as "Actions: double tap to expand call action menu". --> <string name="a11y_bubble_primary_button_expand_action">Expand call action menu</string> |