aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res/layout/item_post.xml
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2019-04-26 13:53:32 +0000
committerAlex Ning <chineseperson5@gmail.com>2019-04-26 13:53:32 +0000
commit1d294609f5bb472fea0d536ac381359e9d9c4dc0 (patch)
treeb08d35ea740818efd92b2ffb4a1e45b3bd7e06e8 /app/src/main/res/layout/item_post.xml
parent6bd4b41f8c7eeb112d00bc42658eace8ed3bcb85 (diff)
downloadinfinity-for-reddit-1d294609f5bb472fea0d536ac381359e9d9c4dc0.tar
infinity-for-reddit-1d294609f5bb472fea0d536ac381359e9d9c4dc0.tar.gz
infinity-for-reddit-1d294609f5bb472fea0d536ac381359e9d9c4dc0.tar.bz2
infinity-for-reddit-1d294609f5bb472fea0d536ac381359e9d9c4dc0.tar.lz
infinity-for-reddit-1d294609f5bb472fea0d536ac381359e9d9c4dc0.tar.xz
infinity-for-reddit-1d294609f5bb472fea0d536ac381359e9d9c4dc0.tar.zst
infinity-for-reddit-1d294609f5bb472fea0d536ac381359e9d9c4dc0.zip
Unescape HTML for post content and comments. Minor UI fixes.
Diffstat (limited to 'app/src/main/res/layout/item_post.xml')
-rw-r--r--app/src/main/res/layout/item_post.xml19
1 files changed, 6 insertions, 13 deletions
diff --git a/app/src/main/res/layout/item_post.xml b/app/src/main/res/layout/item_post.xml
index 9d94cb2a..45024d78 100644
--- a/app/src/main/res/layout/item_post.xml
+++ b/app/src/main/res/layout/item_post.xml
@@ -71,34 +71,32 @@
android:id="@+id/title_text_view_best_post_item"
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginEnd="16dp"
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
android:textSize="18sp"
android:textColor="#000000"/>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
- android:layout_marginStart="16dp"
- android:layout_marginEnd="16dp">
+ android:paddingStart="16dp"
+ android:paddingEnd="16dp"
+ android:paddingTop="16dp">
<com.google.android.material.chip.Chip
android:id="@+id/type_text_view_item_best_post"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
android:layout_marginEnd="16dp"
- android:textSize="12sp"
android:textColor="@android:color/white"
android:layout_centerVertical="true"
- app:chipBackgroundColor="@color/colorPrimaryDark"/>
+ app:chipBackgroundColor="@color/colorPrimaryDark" />
<ImageView
android:id="@+id/gilded_image_view_item_best_post"
android:layout_width="24dp"
android:layout_height="24dp"
android:layout_toEndOf="@id/type_text_view_item_best_post"
- android:layout_marginTop="8dp"
android:layout_centerVertical="true"
android:visibility="gone"/>
@@ -106,7 +104,6 @@
android:id="@+id/gilded_number_text_view_item_best_post"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
- android:layout_marginTop="8dp"
android:layout_marginStart="4dp"
android:layout_marginEnd="8dp"
android:layout_toEndOf="@id/gilded_image_view_item_best_post"
@@ -119,10 +116,8 @@
android:id="@+id/crosspost_image_view_item_best_post"
android:layout_width="24dp"
android:layout_height="24dp"
- android:layout_marginTop="8dp"
android:layout_marginStart="8dp"
android:layout_marginEnd="8dp"
- android:layout_toStartOf="@id/nsfw_text_view_item_best_post"
android:layout_toEndOf="@id/gilded_number_text_view_item_best_post"
android:src="@drawable/crosspost"
android:tint="@color/colorAccent"
@@ -135,9 +130,7 @@
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignParentEnd="true"
- android:layout_marginTop="8dp"
android:layout_marginStart="8dp"
- android:textSize="12sp"
android:textColor="@android:color/white"
android:visibility="gone"
android:layout_centerVertical="true"