aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/res
diff options
context:
space:
mode:
authorAlex Ning <chineseperson5@gmail.com>2020-04-16 14:22:29 +0000
committerAlex Ning <chineseperson5@gmail.com>2020-04-16 14:22:29 +0000
commit58efcce3a09f23b01dbd199fc422f44a0ba79dbc (patch)
tree25f61dc0d52d9a7f075045197ca2a8b85c3b1657 /app/src/main/res
parent504b005cf7b9d9881b6780ede5f75b7bcf2c6cd2 (diff)
downloadinfinity-for-reddit-58efcce3a09f23b01dbd199fc422f44a0ba79dbc.tar
infinity-for-reddit-58efcce3a09f23b01dbd199fc422f44a0ba79dbc.tar.gz
infinity-for-reddit-58efcce3a09f23b01dbd199fc422f44a0ba79dbc.tar.bz2
infinity-for-reddit-58efcce3a09f23b01dbd199fc422f44a0ba79dbc.tar.lz
infinity-for-reddit-58efcce3a09f23b01dbd199fc422f44a0ba79dbc.tar.xz
infinity-for-reddit-58efcce3a09f23b01dbd199fc422f44a0ba79dbc.tar.zst
infinity-for-reddit-58efcce3a09f23b01dbd199fc422f44a0ba79dbc.zip
Show author flair for posts.
Diffstat (limited to '')
-rw-r--r--app/src/main/res/layout/item_post_detail.xml19
1 files changed, 18 insertions, 1 deletions
diff --git a/app/src/main/res/layout/item_post_detail.xml b/app/src/main/res/layout/item_post_detail.xml
index f68ffb3c..dd8b842f 100644
--- a/app/src/main/res/layout/item_post_detail.xml
+++ b/app/src/main/res/layout/item_post_detail.xml
@@ -45,13 +45,30 @@
android:textSize="?attr/font_default"
android:maxLines="2"
android:ellipsize="end"
- app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintBottom_toTopOf="@+id/author_flair_text_view_item_post_detail"
app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail"
app:layout_constraintEnd_toStartOf="@id/guideline"
app:layout_constraintTop_toBottomOf="@+id/subreddit_text_view_item_post_detail"
app:layout_constraintHorizontal_bias="0" />
<TextView
+ android:id="@+id/author_flair_text_view_item_post_detail"
+ android:layout_width="0dp"
+ android:layout_height="wrap_content"
+ android:layout_marginStart="16dp"
+ android:layout_marginEnd="8dp"
+ android:textColor="?attr/username"
+ android:textSize="?attr/font_default"
+ android:maxLines="2"
+ android:ellipsize="end"
+ android:visibility="gone"
+ app:layout_constraintBottom_toBottomOf="parent"
+ app:layout_constraintStart_toEndOf="@+id/icon_gif_image_view_item_post_detail"
+ app:layout_constraintEnd_toStartOf="@id/guideline"
+ app:layout_constraintTop_toBottomOf="@+id/user_text_view_item_post_detail"
+ app:layout_constraintHorizontal_bias="0" />
+
+ <TextView
android:id="@+id/post_time_text_view_item_post_detail"
android:layout_width="0dp"
android:layout_height="wrap_content"