From 6c7e188439f9075f803816b342f7e2e0b16dfc0e Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Fri, 12 Feb 2021 18:57:03 +0100 Subject: [PATCH] a11y --- vector/src/main/res/layout/composer_layout.xml | 1 + .../main/res/layout/composer_layout_constraint_set_compact.xml | 1 + .../main/res/layout/composer_layout_constraint_set_expanded.xml | 1 + 3 files changed, 3 insertions(+) diff --git a/vector/src/main/res/layout/composer_layout.xml b/vector/src/main/res/layout/composer_layout.xml index 03e347a72f..f19c8ff152 100644 --- a/vector/src/main/res/layout/composer_layout.xml +++ b/vector/src/main/res/layout/composer_layout.xml @@ -64,6 +64,7 @@ android:id="@+id/composerRelatedMessageActionIcon" android:layout_width="0dp" android:layout_height="0dp" + android:importantForAccessibility="no" app:tint="?riotx_text_primary" tools:ignore="MissingConstraints,MissingPrefix" /> diff --git a/vector/src/main/res/layout/composer_layout_constraint_set_compact.xml b/vector/src/main/res/layout/composer_layout_constraint_set_compact.xml index 9765bb31ba..0b562d8737 100644 --- a/vector/src/main/res/layout/composer_layout_constraint_set_compact.xml +++ b/vector/src/main/res/layout/composer_layout_constraint_set_compact.xml @@ -76,6 +76,7 @@ android:layout_marginTop="8dp" android:layout_marginBottom="38dp" android:alpha="0" + android:importantForAccessibility="no" app:layout_constraintEnd_toStartOf="parent" app:layout_constraintTop_toBottomOf="parent" app:tint="?riotx_text_primary" diff --git a/vector/src/main/res/layout/composer_layout_constraint_set_expanded.xml b/vector/src/main/res/layout/composer_layout_constraint_set_expanded.xml index 24397e4abf..4d91e06e2a 100644 --- a/vector/src/main/res/layout/composer_layout_constraint_set_expanded.xml +++ b/vector/src/main/res/layout/composer_layout_constraint_set_expanded.xml @@ -80,6 +80,7 @@ android:layout_marginTop="6dp" android:layout_marginBottom="38dp" android:alpha="1" + android:importantForAccessibility="no" android:visibility="visible" app:layout_constraintEnd_toEndOf="@id/composerRelatedMessageAvatar" app:layout_constraintStart_toStartOf="@id/composerRelatedMessageAvatar"