diff options
author | Sergei Kozelko <KozelkoS@yandex.ru> | 2022-09-09 05:34:00 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-09 05:34:00 +0000 |
commit | e0cf4ec485414ab91ed4c751743730a14ebb0ddc (patch) | |
tree | e1f8d322cba29253dd097c535170be32fad091f0 /app/src/main/res | |
parent | 401dba6d83052cf0c9c60a74e8460e356f39bcb2 (diff) | |
download | infinity-for-reddit-e0cf4ec485414ab91ed4c751743730a14ebb0ddc.tar infinity-for-reddit-e0cf4ec485414ab91ed4c751743730a14ebb0ddc.tar.gz infinity-for-reddit-e0cf4ec485414ab91ed4c751743730a14ebb0ddc.tar.bz2 infinity-for-reddit-e0cf4ec485414ab91ed4c751743730a14ebb0ddc.tar.lz infinity-for-reddit-e0cf4ec485414ab91ed4c751743730a14ebb0ddc.tar.xz infinity-for-reddit-e0cf4ec485414ab91ed4c751743730a14ebb0ddc.tar.zst infinity-for-reddit-e0cf4ec485414ab91ed4c751743730a14ebb0ddc.zip |
Fix markdown in rules screen (#1050)
* Display tables in rules screen
* Parse spoiler and headings in rules screen
Diffstat (limited to 'app/src/main/res')
-rw-r--r-- | app/src/main/res/layout/item_rule.xml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/app/src/main/res/layout/item_rule.xml b/app/src/main/res/layout/item_rule.xml index 1003f6c5..e420f45d 100644 --- a/app/src/main/res/layout/item_rule.xml +++ b/app/src/main/res/layout/item_rule.xml @@ -11,14 +11,12 @@ android:textSize="?attr/title_font_16" android:fontFamily="?attr/font_family" /> - <TextView + <androidx.recyclerview.widget.RecyclerView android:id="@+id/description_markwon_view_item_rule" android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingBottom="16dp" - android:paddingStart="16dp" - android:paddingEnd="16dp" - android:textSize="?attr/content_font_default" - android:fontFamily="?attr/font_family" /> + android:paddingBottom="8dp" + android:paddingStart="8dp" + android:paddingEnd="8dp"/> </LinearLayout>
\ No newline at end of file |