From f634686eb8059ef5fa634ba1322c6340199f44bc Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Tue, 20 Apr 2021 17:34:14 +0800 Subject: Hide reply and save buttons in comments if the depth is larger than 5. Add reply and save options in CommentMoreBottomSheetFragment. --- .../layout/fragment_comment_more_bottom_sheet.xml | 38 ++++ app/src/main/res/layout/item_comment.xml | 202 ++++++++++----------- 2 files changed, 139 insertions(+), 101 deletions(-) (limited to 'app/src/main/res/layout') diff --git a/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml b/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml index 719935d5..4c03230f 100644 --- a/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml +++ b/app/src/main/res/layout/fragment_comment_more_bottom_sheet.xml @@ -48,6 +48,26 @@ android:visibility="gone" app:drawableStartCompat="@drawable/ic_delete_24dp" /> + + + + - + - + - + - - - - - - - - - - - - - - - + + + + + + + + + + + + + + +