From 0961c59fa9625ac8edf279978177d1940ccb1829 Mon Sep 17 00:00:00 2001 From: Oliver Zimmerman <oezimmerman@gmail.com> Date: Mon, 28 Sep 2020 08:25:28 +0100 Subject: [PATCH] Changed accessibility importance of switch to avoid overriding status announcement (#1191) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Changed accessibility importance of switch to avoid overriding status announcement Co-authored-by: Jakob Möller <jakob.moeller@sap.com> Co-authored-by: Matthias Urhahn <matthias.urhahn@sap.com> Co-authored-by: harambasicluka <64483219+harambasicluka@users.noreply.github.com> --- .../src/main/res/layout/include_settings_switch_row.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/Corona-Warn-App/src/main/res/layout/include_settings_switch_row.xml b/Corona-Warn-App/src/main/res/layout/include_settings_switch_row.xml index d6340047e..b818955eb 100644 --- a/Corona-Warn-App/src/main/res/layout/include_settings_switch_row.xml +++ b/Corona-Warn-App/src/main/res/layout/include_settings_switch_row.xml @@ -86,6 +86,7 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" app:checked="@{status}" + android:importantForAccessibility="no" android:enabled="@{enabled}" android:contentDescription="@{FormatterSettingsHelper.formatSwitchContentDescription(subtitle, statusText)}" android:theme="@style/switchBase" -- GitLab