Render full markdown in CommentsRecyclerViewAdapter.

This commit is contained in:
Docile-Alligator
2022-04-02 15:50:12 +08:00
parent f0e2090db9
commit 95d792779e
5 changed files with 314 additions and 31 deletions

View File

@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<TextView xmlns:android="http://schemas.android.com/apk/res/android"
<ml.docilealligator.infinityforreddit.customviews.SpoilerOnClickTextView xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/text"
android:layout_width="match_parent"
android:layout_height="wrap_content"

View File

@@ -119,16 +119,14 @@
android:fontFamily="?attr/font_family"
tools:visibility="visible" />
<ml.docilealligator.infinityforreddit.customviews.SpoilerOnClickTextView
<androidx.recyclerview.widget.RecyclerView
android:id="@+id/comment_markdown_view_item_post_comment"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_margin="8dp"
android:paddingStart="8dp"
android:paddingEnd="8dp"
android:textColor="?attr/primaryTextColor"
android:textSize="?attr/content_font_default"
android:fontFamily="?attr/content_font_family" />
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_marginTop="8dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
android:nestedScrollingEnabled="false" />
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/bottom_constraint_layout_item_post_comment"