diff options
Diffstat (limited to 'java/com/android/newbubble/res')
-rw-r--r-- | java/com/android/newbubble/res/layout/new_bubble_base.xml | 1 | ||||
-rw-r--r-- | java/com/android/newbubble/res/values/strings.xml | 27 |
2 files changed, 28 insertions, 0 deletions
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 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + ~ Copyright (C) 2017 The Android Open Source Project + ~ + ~ Licensed under the Apache License, Version 2.0 (the "License"); + ~ you may not use this file except in compliance with the License. + ~ You may obtain a copy of the License at + ~ + ~ http://www.apache.org/licenses/LICENSE-2.0 + ~ + ~ Unless required by applicable law or agreed to in writing, software + ~ distributed under the License is distributed on an "AS IS" BASIS, + ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + ~ See the License for the specific language governing permissions and + ~ limitations under the License + --> + +<resources> + <!-- A string for Talkback to read when accessibility user touch bubble. --> + <string name="a11y_bubble_description">Dialer bubble</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> + <!-- A string to describe available action for accessibility user. It will be read as "Actions: + double tap to collapse call action menu". --> + <string name="a11y_bubble_primary_button_collapse_action">Collapse call action menu</string> +</resources>
\ No newline at end of file |