diff --git a/app/src/main/res/layout/item_custom_incoming_preview_message.xml b/app/src/main/res/layout/item_custom_incoming_preview_message.xml index 16ecd4f50..4f91223b4 100644 --- a/app/src/main/res/layout/item_custom_incoming_preview_message.xml +++ b/app/src/main/res/layout/item_custom_incoming_preview_message.xml @@ -50,14 +50,19 @@ app:actualImageScaleType="fitCenter" tools:ignore="PxUsage" /> - + android:layout_marginBottom="8dp" + android:orientation="vertical" + app:alignContent="stretch" + app:alignItems="stretch" + app:flexWrap="wrap" + app:justifyContent="flex_end"> + android:textSize="12sp" + app:layout_alignSelf="flex_start" + app:layout_flexGrow="1" + app:layout_wrapBefore="true" + /> + android:textColor="@color/warm_grey_four" + android:layout_marginStart="8dp" + app:layout_alignSelf="center"/> - + diff --git a/app/src/main/res/layout/item_custom_outcoming_preview_message.xml b/app/src/main/res/layout/item_custom_outcoming_preview_message.xml index 8444e81df..35c45bf9b 100644 --- a/app/src/main/res/layout/item_custom_outcoming_preview_message.xml +++ b/app/src/main/res/layout/item_custom_outcoming_preview_message.xml @@ -32,36 +32,45 @@ android:id="@id/image" android:layout_width="480px" android:layout_height="480px" - app:actualImageScaleType="fitCenter" - android:adjustViewBounds="true" android:layout_alignParentEnd="true" + android:adjustViewBounds="true" + app:actualImageScaleType="fitCenter" tools:ignore="PxUsage" /> - + android:layout_marginBottom="8dp" + android:orientation="vertical" + app:alignContent="stretch" + app:alignItems="stretch" + app:flexWrap="wrap" + app:justifyContent="flex_end"> + android:textSize="12sp" + app:layout_alignSelf="flex_start" + app:layout_flexGrow="1" + app:layout_wrapBefore="true" /> - + android:textColor="@color/warm_grey_four" + app:layout_alignSelf="center" /> +