From b2a78977ba549cf9bad535ff5677330425e26daa Mon Sep 17 00:00:00 2001 From: "Tadashi G. Takaoka" <takaoka@google.com> Date: Fri, 24 May 2013 11:13:21 -0700 Subject: [PATCH] Add contentDescription attribute to setup wizard video and image Bug: 9112276 Change-Id: I028371770bacd6d975dee5648230abc19f51f542 --- java/res/layout/setup_welcome_video.xml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/java/res/layout/setup_welcome_video.xml b/java/res/layout/setup_welcome_video.xml index 7517732115..01c25ea8e5 100644 --- a/java/res/layout/setup_welcome_video.xml +++ b/java/res/layout/setup_welcome_video.xml @@ -36,13 +36,15 @@ android:id="@+id/setup_welcome_video" android:layout_width="match_parent" android:layout_height="wrap_content" - android:background="@color/setup_background" /> + android:background="@color/setup_background" + android:contentDescription="@string/setup_welcome_additional_description"/> <ImageView android:id="@+id/setup_welcome_image" android:layout_width="match_parent" android:layout_height="wrap_content" android:adjustViewBounds="true" - android:visibility="gone" /> + android:visibility="gone" + android:contentDescription="@string/setup_welcome_additional_description"/> </LinearLayout> <View android:layout_weight="@integer/setup_welcome_video_end_padding_weight_in_screen" -- GitLab