From 07cd38746fb6b30072aa36d23c907edc9690eecd Mon Sep 17 00:00:00 2001 From: Alan Newberger Date: Mon, 3 Feb 2014 17:23:50 -0800 Subject: [PATCH] add content descriptions for filmstrip controls adding TalkBack descriptions for action buttons shown on the bottom of filmstrip. Bug: 10745077 Change-Id: I3ea278fb065629b43f0ccc9821fe19e6f1d9c4f9 --- res/layout/filmstrip_bottom_controls.xml | 12 ++++++++---- res/values/strings.xml | 8 ++++++++ 2 files changed, 16 insertions(+), 4 deletions(-) diff --git a/res/layout/filmstrip_bottom_controls.xml b/res/layout/filmstrip_bottom_controls.xml index 609d43a8a..b7277f4e7 100644 --- a/res/layout/filmstrip_bottom_controls.xml +++ b/res/layout/filmstrip_bottom_controls.xml @@ -36,7 +36,8 @@ android:id="@+id/filmstrip_bottom_control_share" style="@style/FilmstripBottomControlButton" android:src="@drawable/ic_menu_share_holo_light" - android:visibility="invisible" /> + android:visibility="invisible" + android:contentDescription="@string/share_button_description" /> + android:visibility="gone" + android:contentDescription="@string/view_button_description" /> + android:visibility="gone" + android:contentDescription="@string/edit_button_description" /> + android:visibility="invisible" + android:contentDescription="@string/delete_button_description" /> Retake + + Share + + View + + Edit + + Delete Location -- 2.11.0