From 25f2a35d227b299ff202969f614eab914bf8f6ec Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 18 Jun 2019 00:01:15 +0800 Subject: Reimplemented parsing comments using recursion to parse all the child comments. Reimplemented CommentRecyclerView (some methods need proper implementation. Minor bugs fixed. --- app/src/main/res/layout/activity_view_post_detail.xml | 7 ++++++- app/src/main/res/layout/item_comment.xml | 1 + 2 files changed, 7 insertions(+), 1 deletion(-) (limited to 'app/src/main/res') diff --git a/app/src/main/res/layout/activity_view_post_detail.xml b/app/src/main/res/layout/activity_view_post_detail.xml index 1810f995..99056019 100644 --- a/app/src/main/res/layout/activity_view_post_detail.xml +++ b/app/src/main/res/layout/activity_view_post_detail.xml @@ -319,7 +319,12 @@ android:textColor="@color/primaryTextColor" android:textSize="18sp" /> - --> + + diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index d04f78b6..a4a3c043 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -107,6 +107,7 @@ android:layout_toStartOf="@id/share_button_item_post_comment" android:layout_centerVertical="true" android:layout_marginEnd="16dp" + android:src="@drawable/ic_expand_less_black_20dp" android:tint="@android:color/tab_indicator_text" android:background="?actionBarItemBackground" android:clickable="true" -- cgit v1.2.3