From 86387ef5b8b700643fc45b4b7f223e573cbc447f Mon Sep 17 00:00:00 2001 From: Sylvain Berfini Date: Wed, 3 Apr 2024 16:41:16 +0200 Subject: [PATCH] Improved multi files chat bubble --- .../layout/chat_bubble_content_grid_cell.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/app/src/main/res/layout/chat_bubble_content_grid_cell.xml b/app/src/main/res/layout/chat_bubble_content_grid_cell.xml index 8cd9c0ba7..80c66aa5d 100644 --- a/app/src/main/res/layout/chat_bubble_content_grid_cell.xml +++ b/app/src/main/res/layout/chat_bubble_content_grid_cell.xml @@ -16,7 +16,8 @@ + android:layout_height="wrap_content" + android:layout_margin="1dp"> @@ -102,8 +104,8 @@ android:layout_width="0dp" android:layout_height="0dp" android:background="@drawable/shape_squircle_white_right" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintTop_toTopOf="@id/file_icon" + app:layout_constraintBottom_toBottomOf="@id/file_icon" app:layout_constraintStart_toEndOf="@id/file_icon" app:layout_constraintEnd_toEndOf="parent"/> @@ -125,7 +127,7 @@ android:background="@drawable/shape_squircle_white_r10_background" app:layout_constraintStart_toEndOf="@id/file_icon" app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" + app:layout_constraintTop_toTopOf="@id/file_background" app:layout_constraintBottom_toTopOf="@id/file_size"/> + app:layout_constraintBottom_toBottomOf="@id/file_background"/>