From cbfb5d3fcc6f1fb13466a9aca0476eb2267800d3 Mon Sep 17 00:00:00 2001 From: Benoit Marty Date: Thu, 11 Mar 2021 10:58:07 +0100 Subject: [PATCH] Fix color and bottom margin And improve a11y --- .../bottomsheet/BottomSheetMessagePreviewItem.kt | 1 + .../layout/item_bottom_sheet_message_preview.xml | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt b/vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt index cf14cc3557..a323ce995b 100644 --- a/vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt +++ b/vector/src/main/java/im/vector/app/core/epoxy/bottomsheet/BottomSheetMessagePreviewItem.kt @@ -57,6 +57,7 @@ abstract class BottomSheetMessagePreviewItem : VectorEpoxyModel + android:layout_height="wrap_content" + tools:background="#1FF00FF0"> @@ -45,15 +46,14 @@ android:layout_marginEnd="@dimen/layout_horizontal_margin" android:textColor="?riotx_text_secondary" android:textSize="12sp" - app:layout_constraintEnd_toEndOf="parent" app:layout_constraintBottom_toBottomOf="@id/bottom_sheet_message_preview_sender" + app:layout_constraintEnd_toEndOf="parent" tools:text="Friday 8pm" /> +