mirror of
https://github.com/yuliskov/SmartTube.git
synced 2025-05-17 19:35:54 +08:00
chat: stretch bubble
This commit is contained in:
@ -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" />
|
||||
|
Reference in New Issue
Block a user