From cf6b4c12e4cbc6fb9216945cb7bd2c79aec12b15 Mon Sep 17 00:00:00 2001 From: Andy Scherzinger Date: Fri, 26 Mar 2021 11:49:57 +0100 Subject: [PATCH] add description to FAB for better accessibility Signed-off-by: Andy Scherzinger --- app/src/main/res/layout/controller_conversations_rv.xml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/controller_conversations_rv.xml b/app/src/main/res/layout/controller_conversations_rv.xml index 9397b7948..baf7bd72f 100644 --- a/app/src/main/res/layout/controller_conversations_rv.xml +++ b/app/src/main/res/layout/controller_conversations_rv.xml @@ -89,11 +89,12 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_gravity="bottom|end" - android:backgroundTint="@color/colorPrimary" android:layout_margin="16dp" + android:backgroundTint="@color/colorPrimary" + android:contentDescription="@string/nc_new_conversation" app:borderWidth="0dp" - app:tint="@color/white" - app:srcCompat="@drawable/ic_add_white_24px"/> + app:srcCompat="@drawable/ic_add_white_24px" + app:tint="@color/white" />