diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-04-16 14:22:29 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-04-16 14:22:29 +0000 |
commit | 58efcce3a09f23b01dbd199fc422f44a0ba79dbc (patch) | |
tree | 25f61dc0d52d9a7f075045197ca2a8b85c3b1657 /app/src/main/res/layout | |
parent | 504b005cf7b9d9881b6780ede5f75b7bcf2c6cd2 (diff) | |
download | infinity-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.xml | 19 |
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" |