aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorDocile-Alligator <chineseperson5@gmail.com>2022-04-02 07:50:12 +0000
committerDocile-Alligator <chineseperson5@gmail.com>2022-04-02 07:50:12 +0000
commit95d792779e98b8a4180ed50f3d945865b406b127 (patch)
treeb8159cfdc8d91d4c4aca9900befaba902b498ff1 /app/src/main/res
parentf0e2090db98722daec2a7dba295b8abf7d7a5514 (diff)
downloadinfinity-for-reddit-95d792779e98b8a4180ed50f3d945865b406b127.tar
infinity-for-reddit-95d792779e98b8a4180ed50f3d945865b406b127.tar.gz
infinity-for-reddit-95d792779e98b8a4180ed50f3d945865b406b127.tar.bz2
infinity-for-reddit-95d792779e98b8a4180ed50f3d945865b406b127.tar.lz
infinity-for-reddit-95d792779e98b8a4180ed50f3d945865b406b127.tar.xz
infinity-for-reddit-95d792779e98b8a4180ed50f3d945865b406b127.tar.zst
infinity-for-reddit-95d792779e98b8a4180ed50f3d945865b406b127.zip
Render full markdown in CommentsRecyclerViewAdapter.
Diffstat (limited to 'app/src/main/res')
-rw-r--r--app/src/main/res/layout/adapter_default_entry.xml2
-rw-r--r--app/src/main/res/layout/item_comment.xml16
2 files changed, 8 insertions, 10 deletions
diff --git a/app/src/main/res/layout/adapter_default_entry.xml b/app/src/main/res/layout/adapter_default_entry.xml
index a02d03f0..b011fbf5 100644
--- a/app/src/main/res/layout/adapter_default_entry.xml
+++ b/app/src/main/res/layout/adapter_default_entry.xml
@@ -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"
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml
index b62106f8..06ac8c02 100644
--- a/app/src/main/res/layout/item_comment.xml
+++ b/app/src/main/res/layout/item_comment.xml
@@ -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"