diff --git a/app/src/main/res/layout/chat_bubble_incoming.xml b/app/src/main/res/layout/chat_bubble_incoming.xml index 8e68c4ef5..c8d383be4 100644 --- a/app/src/main/res/layout/chat_bubble_incoming.xml +++ b/app/src/main/res/layout/chat_bubble_incoming.xml @@ -135,7 +135,6 @@ android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginStart="@{model.isFromGroup ? @dimen/chat_bubble_start_margin_when_avatar_displayed : @dimen/zero, default=@dimen/chat_bubble_start_margin_when_avatar_displayed}" - android:layout_marginEnd="16dp" android:padding="10dp" android:orientation="vertical" android:selected="@{model.isSelected}" diff --git a/app/src/main/res/layout/chat_bubble_long_press_menu.xml b/app/src/main/res/layout/chat_bubble_long_press_menu.xml index 3b3b4578a..7fbe93f54 100644 --- a/app/src/main/res/layout/chat_bubble_long_press_menu.xml +++ b/app/src/main/res/layout/chat_bubble_long_press_menu.xml @@ -37,116 +37,6 @@ android:layout_width="match_parent" android:layout_height="match_parent"> - - - - - - - - - - - - - - - - + + @@ -172,16 +69,31 @@ android:id="@+id/incoming_bubble" android:layout_width="match_parent" android:layout_height="wrap_content" - android:layout_marginStart="16dp" - android:layout_marginEnd="16dp" + android:layout_marginStart="8dp" + android:layout_marginEnd="32dp" + android:layout_marginBottom="12dp" android:visibility="@{model.outgoing ? View.GONE : View.VISIBLE}" - app:layout_constraintStart_toStartOf="parent" - app:layout_constraintEnd_toEndOf="parent" - app:layout_constraintTop_toTopOf="parent" - app:layout_constraintBottom_toTopOf="@id/bottom_barrier" + app:layout_constraintTop_toBottomOf="@id/emojis" + app:layout_constraintBottom_toBottomOf="@id/bottom_barrier" + app:layout_constraintHeight_max="@dimen/chat_bubble_max_height_long_press" bind:model="@{model}" layout="@layout/chat_bubble_incoming"/> + + - - + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/app/src/main/res/values/dimen.xml b/app/src/main/res/values/dimen.xml index 4c668c963..51f617a94 100644 --- a/app/src/main/res/values/dimen.xml +++ b/app/src/main/res/values/dimen.xml @@ -76,6 +76,7 @@ 300dp 300dp 425dp + 300dp 200dp \ No newline at end of file