diff options
author | Alex Ning <chineseperson5@gmail.com> | 2018-08-20 16:08:48 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2018-08-20 16:08:48 +0000 |
commit | 80058ff6ab192b830b39566ee07a5903c450cf6c (patch) | |
tree | 154cac141fd52fd7c2ec7054113372a09732d808 /app/src/main/res | |
parent | 0fa03cba2150a2225677d6abe611c63510e428ee (diff) | |
download | infinity-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')
-rw-r--r-- | app/src/main/res/layout/activity_view_post_detail.xml | 6 | ||||
-rw-r--r-- | app/src/main/res/layout/item_post_comment.xml | 6 |
2 files changed, 6 insertions, 6 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 diff --git a/app/src/main/res/layout/item_post_comment.xml b/app/src/main/res/layout/item_post_comment.xml index 25f0ef81..c1421084 100644 --- a/app/src/main/res/layout/item_post_comment.xml +++ b/app/src/main/res/layout/item_post_comment.xml @@ -32,8 +32,8 @@ </LinearLayout> - <TextView - android:id="@+id/comment_text_view_item_post_comment" + <org.sufficientlysecure.htmltextview.HtmlTextView + android:id="@+id/comment_html_text_view_item_post_comment" android:layout_width="match_parent" android:layout_height="wrap_content" android:layout_marginTop="6dp" @@ -41,7 +41,7 @@ android:layout_marginStart="32dp" android:layout_marginRight="32dp" android:layout_marginEnd="32dp" - android:textColor="#000000"/> + android:textAppearance="@android:style/TextAppearance.Small"/> <RelativeLayout android:id="@+id/relative_layout_item_post_comment" |