From 024b51e1c7672e438cca33b5eb2f11c7f41c0861 Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Mon, 4 Jul 2022 16:07:19 +0200 Subject: [PATCH] Improved scheduled meeting display in reply --- .../chat_message_reply_content_cell.xml | 24 ++++++++--------- ...hat_message_reply_preview_content_cell.xml | 27 ++++++------------- 2 files changed, 20 insertions(+), 31 deletions(-) diff --git a/app/src/main/res/layout/chat_message_reply_content_cell.xml b/app/src/main/res/layout/chat_message_reply_content_cell.xml index 40329a070..66bf0077c 100644 --- a/app/src/main/res/layout/chat_message_reply_content_cell.xml +++ b/app/src/main/res/layout/chat_message_reply_content_cell.xml @@ -22,7 +22,7 @@ android:maxHeight="@dimen/chat_message_bubble_image_height_small" android:layout_size="@{data.alone ? 0f : @dimen/chat_message_small_bubble_file_size}" coil="@{data.filePath}" - android:visibility="@{data.image ? View.VISIBLE : View.GONE}" + android:visibility="@{data.image ? View.VISIBLE : View.GONE, default=gone}" android:scaleType="@{ScaleType.CENTER_CROP}" android:adjustViewBounds="true" /> @@ -33,12 +33,12 @@ android:maxHeight="@dimen/chat_message_bubble_image_height_small" android:layout_size="@{data.alone ? 0f : @dimen/chat_message_small_bubble_file_size}" coilVideoPreview="@{data.filePath}" - android:visibility="@{data.video ? View.VISIBLE : View.GONE}" + android:visibility="@{data.video ? View.VISIBLE : View.GONE, default=gone}" android:scaleType="@{ScaleType.CENTER_CROP}" android:adjustViewBounds="true" /> - @@ -30,12 +30,12 @@ android:layout_height="@dimen/chat_message_small_bubble_file_size" android:layout_margin="5dp" coilVideoPreview="@{data.filePath}" - android:visibility="@{data.video ? View.VISIBLE : View.GONE}" + android:visibility="@{data.video ? View.VISIBLE : View.GONE, default=gone}" android:scaleType="@{ScaleType.CENTER_CROP}" android:adjustViewBounds="true" /> - -