adding an avatar photo at the Threads, to be used only at group messages

This commit is contained in:
tibbi 2020-04-11 15:52:48 +02:00
parent c6f1bd8012
commit 20e3ddfa60

View File

@ -17,11 +17,21 @@
app:layout_constraintTop_toTopOf="parent"
app:layout_constraintWidth_percent="0.7">
<ImageView
android:id="@+id/thread_message_photo"
android:layout_width="@dimen/avatar_size"
android:layout_height="@dimen/avatar_size"
android:layout_alignBottom="@+id/thread_message_body"
android:layout_alignParentStart="true"
android:layout_marginEnd="@dimen/medium_margin"
android:visibility="gone" />
<ImageView
android:id="@+id/thread_message_image"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="@dimen/medium_margin"
android:layout_toEndOf="@+id/thread_message_photo"
android:adjustViewBounds="true" />
<TextView
@ -29,7 +39,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/thread_message_image"
android:layout_alignParentStart="true"
android:layout_toEndOf="@+id/thread_message_photo"
android:background="@drawable/item_received_background"
android:padding="@dimen/normal_margin"
android:textSize="@dimen/normal_text_size"