fix to show avatars for incoming pictures in group chats (thx to starypatyk)

Signed-off-by: Marcel Hibbe <dev@mhibbe.de>
This commit is contained in:
Marcel Hibbe 2021-03-26 16:28:26 +01:00
parent 4c4b00e3f8
commit 6cdcccec6e
No known key found for this signature in database
GPG key ID: C793F8B59F43CE7B

View file

@ -28,13 +28,21 @@
android:layout_marginEnd="16dp"
android:layout_marginBottom="2dp">
<com.facebook.drawee.view.SimpleDraweeView
android:id="@id/messageUserAvatar"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_alignParentTop="true"
android:layout_marginEnd="8dp"
app:roundAsCircle="true" />
<com.google.android.flexbox.FlexboxLayout
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="8dp"
android:layout_marginBottom="8dp"
android:layout_toEndOf="@id/messageUserAvatar"
android:orientation="vertical"
android:layout_alignParentStart="true"
app:alignContent="stretch"
app:alignItems="stretch"
app:flexWrap="wrap"