From d7928436fea370395f389563f7c89e67e6853819 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Mon, 11 Nov 2019 15:27:11 +0800 Subject: Changing post layout in other activities is available. Show username in card layout posts. --- app/src/main/res/layout/item_post.xml | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml index e54cbc5b..22b94789 100644 --- a/app/src/main/res/layout/item_post.xml +++ b/app/src/main/res/layout/item_post.xml @@ -38,11 +38,27 @@ android:layout_marginEnd="8dp" android:textColor="#E91E63" android:textSize="?attr/font_default" - app:layout_constraintBottom_toBottomOf="parent" + app:layout_constraintBottom_toTopOf="@id/user_text_view_item_post" app:layout_constraintStart_toEndOf="@id/icon_gif_image_view_item_post" app:layout_constraintEnd_toStartOf="@id/stickied_post_image_view_item_post" app:layout_constraintTop_toTopOf="parent"/> + +