diff options
Diffstat (limited to 'src/main/res/layout')
-rw-r--r-- | src/main/res/layout/message_sent.xml | 32 |
1 files changed, 22 insertions, 10 deletions
diff --git a/src/main/res/layout/message_sent.xml b/src/main/res/layout/message_sent.xml index 63ce65b76..2526e4dd2 100644 --- a/src/main/res/layout/message_sent.xml +++ b/src/main/res/layout/message_sent.xml @@ -9,17 +9,29 @@ android:paddingRight="8dp" android:paddingTop="3dp"> - <com.makeramen.roundedimageview.RoundedImageView - android:id="@+id/message_photo" - android:layout_width="48dp" - android:layout_height="48dp" + <LinearLayout + android:id="@+id/message_photo_box" + android:layout_width="wrap_content" + android:layout_height="wrap_content" android:layout_alignParentBottom="true" android:layout_alignParentEnd="true" android:layout_alignParentRight="true" - android:scaleType="fitXY" - app:riv_border_color="?attr/color_border" - app:riv_border_width="1dp" - app:riv_corner_radius="@dimen/rounded_image_border" /> + android:orientation="vertical"> + + <com.makeramen.roundedimageview.RoundedImageView + android:id="@+id/message_photo" + android:layout_width="48dp" + android:layout_height="48dp" + android:scaleType="fitXY" + app:riv_border_color="?attr/color_border" + app:riv_border_width="1dp" + app:riv_corner_radius="@dimen/rounded_image_border" /> + + <View + android:id="@+id/placeholder" + android:layout_width="48dp" + android:layout_height="3dp" /> + </LinearLayout> <LinearLayout android:id="@+id/message_box" @@ -28,8 +40,8 @@ android:layout_alignParentBottom="true" android:layout_marginLeft="4dp" android:layout_marginRight="4dp" - android:layout_toLeftOf="@+id/message_photo" - android:layout_toStartOf="@+id/message_photo" + android:layout_toLeftOf="@+id/message_photo_box" + android:layout_toStartOf="@+id/message_photo_box" android:background="@drawable/message_bubble_sent_blue" android:longClickable="true" android:minHeight="48dp"> |