From 8e517730854b4996cc31edf370fd070df235f720 Mon Sep 17 00:00:00 2001 From: Ammar Githam Date: Wed, 9 Sep 2020 01:47:46 +0900 Subject: [PATCH] Fix parent and child comments view. Separated out parent comment and dm item view to reduce handling of view visibility. Added the likes in parent and matched styles with child comments. --- app/src/main/res/layout/item_comment.xml | 90 ++++++++- .../main/res/layout/item_comment_small.xml | 181 ++++++++---------- 2 files changed, 168 insertions(+), 103 deletions(-) diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index c1bff83f..ccdd9eee 100755 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -7,9 +7,95 @@ android:orientation="vertical" tools:viewBindingIgnore="true"> - + android:layout_width="match_parent" + android:layout_height="wrap_content" + android:background="?android:selectableItemBackground" + android:orientation="horizontal"> + + + + + + + + + + + - + android:paddingBottom="2dp"> - + - + - + - + - - - - - - - - - - - - - - \ No newline at end of file + + \ No newline at end of file