mirror of
https://gitlab.linphone.org/BC/public/linphone-android.git
synced 2026-01-21 13:48:11 +00:00
Improved margins between chat bubbles
This commit is contained in:
parent
75d1f719ae
commit
c8319ed014
3 changed files with 6 additions and 2 deletions
|
|
@ -31,6 +31,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="8dp"
|
||||
android:layout_marginEnd="32dp"
|
||||
android:layout_marginBottom="@{model.groupedWithNextMessage ? @dimen/chat_bubble_grouped_bottom_margin : @dimen/chat_bubble_bottom_margin, default=@dimen/chat_bubble_bottom_margin}"
|
||||
android:layout_marginTop="@{model.groupedWithPreviousMessage ? @dimen/chat_bubble_grouped_top_margin : @dimen/chat_bubble_top_margin, default=@dimen/chat_bubble_top_margin}">
|
||||
|
||||
<com.google.android.material.imageview.ShapeableImageView
|
||||
|
|
|
|||
|
|
@ -31,6 +31,7 @@
|
|||
android:layout_height="wrap_content"
|
||||
android:layout_marginStart="32dp"
|
||||
android:layout_marginEnd="8dp"
|
||||
android:layout_marginBottom="@{model.groupedWithNextMessage ? @dimen/chat_bubble_grouped_bottom_margin : @dimen/chat_bubble_bottom_margin, default=@dimen/chat_bubble_bottom_margin}"
|
||||
android:layout_marginTop="@{model.groupedWithPreviousMessage ? @dimen/chat_bubble_grouped_top_margin : @dimen/chat_bubble_top_margin, default=@dimen/chat_bubble_top_margin}">
|
||||
|
||||
<androidx.constraintlayout.widget.Group
|
||||
|
|
|
|||
|
|
@ -64,8 +64,10 @@
|
|||
|
||||
<dimen name="meeting_margin">8dp</dimen>
|
||||
|
||||
<dimen name="chat_bubble_grouped_top_margin">4dp</dimen>
|
||||
<dimen name="chat_bubble_top_margin">16dp</dimen>
|
||||
<dimen name="chat_bubble_grouped_top_margin">2dp</dimen>
|
||||
<dimen name="chat_bubble_top_margin">8dp</dimen>
|
||||
<dimen name="chat_bubble_grouped_bottom_margin">2dp</dimen>
|
||||
<dimen name="chat_bubble_bottom_margin">8dp</dimen>
|
||||
<dimen name="chat_bubble_long_press_emoji_reaction_size">30sp</dimen>
|
||||
<dimen name="chat_bubble_grid_image_size">88dp</dimen>
|
||||
<dimen name="chat_bubble_big_image_max_size">150dp</dimen>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue