From e68f8ed4bca78214debc2ffafba7580bebdc63d0 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Fri, 21 Jan 2022 19:52:31 +0800 Subject: Show author avatars in comments. --- app/src/main/res/layout/item_comment.xml | 45 +++++++++++++++++++++++--------- 1 file changed, 32 insertions(+), 13 deletions(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index e64206d7..a97db526 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -24,35 +24,48 @@ android:paddingStart="16dp" android:paddingEnd="16dp"> + + + app:layout_constraintHorizontal_bias="0" + app:layout_constraintTop_toTopOf="parent" /> @@ -71,9 +84,9 @@ android:id="@+id/comment_time_text_view_item_post_comment" android:layout_width="0dp" android:layout_height="wrap_content" + android:fontFamily="?attr/font_family" android:gravity="end" android:textSize="?attr/font_default" - android:fontFamily="?attr/font_family" app:layout_constraintBottom_toBottomOf="parent" app:layout_constraintEnd_toEndOf="parent" app:layout_constraintTop_toTopOf="parent" /> @@ -85,6 +98,13 @@ app:barrierDirection="start" app:constraint_referenced_ids="top_score_text_view_item_post_comment" /> + + -- cgit v1.2.3