aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/activity_view_post_detail.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2018-08-20 16:08:48 +0000
committerAlex Ning <chineseperson5@gmail.com>2018-08-20 16:08:48 +0000
commit80058ff6ab192b830b39566ee07a5903c450cf6c (patch)
tree154cac141fd52fd7c2ec7054113372a09732d808 /app/src/main/res/layout/activity_view_post_detail.xml
parent0fa03cba2150a2225677d6abe611c63510e428ee (diff)
downloadinfinity-for-reddit-80058ff6ab192b830b39566ee07a5903c450cf6c.tar
infinity-for-reddit-80058ff6ab192b830b39566ee07a5903c450cf6c.tar.gz
infinity-for-reddit-80058ff6ab192b830b39566ee07a5903c450cf6c.tar.bz2
infinity-for-reddit-80058ff6ab192b830b39566ee07a5903c450cf6c.tar.lz
infinity-for-reddit-80058ff6ab192b830b39566ee07a5903c450cf6c.tar.xz
infinity-for-reddit-80058ff6ab192b830b39566ee07a5903c450cf6c.tar.zst
infinity-for-reddit-80058ff6ab192b830b39566ee07a5903c450cf6c.zip
Load comment and post content text in HTML form instead of String. Fixed a bug that the icon of subreddits was not parsed properly in ParseSubredditData class.
Diffstat (limited to 'app/src/main/res/layout/activity_view_post_detail.xml')
-rw-r--r--app/src/main/res/layout/activity_view_post_detail.xml6
1 files changed, 3 insertions, 3 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 e696acf3..d3b0b3ce 100644
--- a/app/src/main/res/layout/activity_view_post_detail.xml
+++ b/app/src/main/res/layout/activity_view_post_detail.xml
@@ -74,8 +74,8 @@
android:textColor="#000000"
android:textSize="18sp" />
- <TextView
- android:id="@+id/content_text_view_view_post_detail"
+ <org.sufficientlysecure.htmltextview.HtmlTextView
+ android:id="@+id/content_html_text_view_view_post_detail"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="8dp"
@@ -84,7 +84,7 @@
android:layout_marginRight="16dp"
android:layout_marginStart="16dp"
android:layout_marginTop="16dp"
- android:textSize="16sp"
+ android:textAppearance="@android:style/TextAppearance.Small"
android:visibility="gone" />
<RelativeLayout