From d21c3ad4554eeb27c29c7588a5360656d1acb033 Mon Sep 17 00:00:00 2001 From: Chiao Cheng Date: Fri, 4 Oct 2013 16:13:26 -0700 Subject: Add content description for dismiss badge button. Also re-using same description for dismiss button on tool tip. Bug: 11067802 Change-Id: I63c922bd1b753d96b3d73a9cfa9d86772788e03f --- res/layout/call_log_list_item_extra.xml | 3 ++- res/layout/tile_interactions_teaser_view.xml | 19 +++++++++++++++++-- res/values/strings.xml | 3 +++ 3 files changed, 22 insertions(+), 3 deletions(-) (limited to 'res') diff --git a/res/layout/call_log_list_item_extra.xml b/res/layout/call_log_list_item_extra.xml index d3f86cfea..fbf71f64d 100644 --- a/res/layout/call_log_list_item_extra.xml +++ b/res/layout/call_log_list_item_extra.xml @@ -53,6 +53,7 @@ android:paddingTop="8dip" android:src="@drawable/ic_close_dk" android:background="?android:attr/selectableItemBackground" - android:visibility="gone"/> + android:visibility="gone" + android:contentDescription="@string/description_dismiss"/> \ No newline at end of file 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 @@ - + + style="@style/DismissButtonStyle" + android:contentDescription="@string/description_dismiss"/> diff --git a/res/values/strings.xml b/res/values/strings.xml index 98e5b434c..55cdea4de 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -632,4 +632,7 @@ [CHAR LIMIT=NONE] --> Tap image to see all numbers or press and hold to reorder + + + Dismiss -- cgit v1.2.3