diff options
author | Alex Ning <chineseperson5@gmail.com> | 2019-06-17 16:01:15 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2019-06-17 16:01:15 +0000 |
commit | 25f2a35d227b299ff202969f614eab914bf8f6ec (patch) | |
tree | 3bdab2028e4d9245065a9b8c02e536edee838bef /app/src/main/res | |
parent | 502cbe02ba9ad397d616961bd7cb85ae66aced8e (diff) | |
download | infinity-for-reddit-25f2a35d227b299ff202969f614eab914bf8f6ec.tar infinity-for-reddit-25f2a35d227b299ff202969f614eab914bf8f6ec.tar.gz infinity-for-reddit-25f2a35d227b299ff202969f614eab914bf8f6ec.tar.bz2 infinity-for-reddit-25f2a35d227b299ff202969f614eab914bf8f6ec.tar.lz infinity-for-reddit-25f2a35d227b299ff202969f614eab914bf8f6ec.tar.xz infinity-for-reddit-25f2a35d227b299ff202969f614eab914bf8f6ec.tar.zst infinity-for-reddit-25f2a35d227b299ff202969f614eab914bf8f6ec.zip |
Reimplemented parsing comments using recursion to parse all the child comments. Reimplemented CommentRecyclerView (some methods need proper implementation. Minor bugs fixed.
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/activity_view_post_detail.xml | 7 | ||||
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 1 |
2 files changed, 7 insertions, 1 deletions
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" /> - <com.multilevelview.MultiLevelRecyclerView + <!--<com.multilevelview.MultiLevelRecyclerView + android:id="@+id/recycler_view_view_post_detail" + android:layout_width="match_parent" + android:layout_height="wrap_content" />--> + + <androidx.recyclerview.widget.RecyclerView android:id="@+id/recycler_view_view_post_detail" android:layout_width="match_parent" android:layout_height="wrap_content" /> 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" |