From 17c12a38cba0643105a3c452d819821762de525e Mon Sep 17 00:00:00 2001 From: harambasicluka <64483219+harambasicluka@users.noreply.github.com> Date: Fri, 12 Jun 2020 18:05:39 +0200 Subject: [PATCH] fixed image description (#431) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Jakob Möller --- .../layout/include_submission_positive_other_warning.xml | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/Corona-Warn-App/src/main/res/layout/include_submission_positive_other_warning.xml b/Corona-Warn-App/src/main/res/layout/include_submission_positive_other_warning.xml index 46a38d63298..9e33eb17669 100644 --- a/Corona-Warn-App/src/main/res/layout/include_submission_positive_other_warning.xml +++ b/Corona-Warn-App/src/main/res/layout/include_submission_positive_other_warning.xml @@ -2,6 +2,12 @@ + + + + + + @@ -14,8 +20,7 @@ android:id="@+id/submission_positive_other_warning_hero_illustration" android:layout_width="@dimen/match_constraint" android:layout_height="wrap_content" - android:contentDescription="@string/submission_positive_other_illustration_description" - android:importantForAccessibility="no" + android:contentDescription="@{FormatterAccessibilityHelper.formatButton(@string/submission_positive_other_illustration_description)}" android:src="@drawable/ic_submission_illustration_other_warning" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent"