summaryrefslogtreecommitdiff
path: root/res/layout/tile_interactions_teaser_view.xml
diff options
context:
space:
mode:
authorChiao Cheng <chiaocheng@google.com>2013-10-04 16:13:26 -0700
committerChiao Cheng <chiaocheng@google.com>2013-10-04 16:34:21 -0700
commitd21c3ad4554eeb27c29c7588a5360656d1acb033 (patch)
tree4e0ee1b3797373721ab7ac9a9e8d6efefd46b782 /res/layout/tile_interactions_teaser_view.xml
parent524bc0b58afabd947cfaa4c13c28fa9660f398da (diff)
Add content description for dismiss badge button.
Also re-using same description for dismiss button on tool tip. Bug: 11067802 Change-Id: I63c922bd1b753d96b3d73a9cfa9d86772788e03f
Diffstat (limited to 'res/layout/tile_interactions_teaser_view.xml')
-rw-r--r--res/layout/tile_interactions_teaser_view.xml19
1 files changed, 17 insertions, 2 deletions
diff --git a/res/layout/tile_interactions_teaser_view.xml b/res/layout/tile_interactions_teaser_view.xml
index ee2b97495..c329dd32c 100644
--- a/res/layout/tile_interactions_teaser_view.xml
+++ b/res/layout/tile_interactions_teaser_view.xml
@@ -1,5 +1,19 @@
<?xml version="1.0" encoding="utf-8"?>
-<!-- Copyright (c) 2013 Google Inc. -->
+<!--
+ ~ Copyright (C) 2013 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
+ -->
<com.android.dialer.list.TileInteractionTeaserView
xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="match_parent"
@@ -56,7 +70,8 @@
android:clickable="true"
android:scaleType="center"
android:src="@drawable/ic_cancel_holo_light"
- style="@style/DismissButtonStyle" />
+ style="@style/DismissButtonStyle"
+ android:contentDescription="@string/description_dismiss"/>
</LinearLayout>