chat: stretch bubble

This commit is contained in:
Yuriy Liskov
2022-07-27 03:21:33 +03:00
parent 0e3a2bec69
commit bed88e3912

View File

@ -22,9 +22,11 @@
android:layout_marginEnd="8dp"
android:layout_marginRight="8dp" />
<!-- Stretch bubble: android:layout_width="wrap_content"->"match_parent" -->
<!-- Stretch bubble: app:justifyContent="flex_end"->"flex_start" -->
<com.google.android.flexbox.FlexboxLayout
android:id="@id/bubble"
android:layout_width="wrap_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginEnd="@dimen/message_incoming_bubble_margin_right"
android:layout_marginRight="@dimen/message_incoming_bubble_margin_right"
@ -34,9 +36,9 @@
app:alignContent="stretch"
app:alignItems="stretch"
app:flexWrap="wrap"
app:justifyContent="flex_end">
app:justifyContent="flex_start">
<com.stfalcon.chatkit.commons.widgets.WrapWidthTextView
<TextView
android:id="@id/messageText"
android:layout_width="wrap_content"
android:layout_height="wrap_content" />