diff options
author | Alex Ning <chineseperson5@gmail.com> | 2020-07-18 13:56:39 +0000 |
---|---|---|
committer | Alex Ning <chineseperson5@gmail.com> | 2020-07-18 13:56:39 +0000 |
commit | 685a39ba58fab82cc0486e49394a0f398bba8254 (patch) | |
tree | 0917aad044057f680147b6377e70757edf75415c /app/src/main/res/layout/item_comment.xml | |
parent | 3a621e290190e67f777e4f442398a4db120aa7af (diff) | |
download | infinity-for-reddit-685a39ba58fab82cc0486e49394a0f398bba8254.tar infinity-for-reddit-685a39ba58fab82cc0486e49394a0f398bba8254.tar.gz infinity-for-reddit-685a39ba58fab82cc0486e49394a0f398bba8254.tar.bz2 infinity-for-reddit-685a39ba58fab82cc0486e49394a0f398bba8254.tar.lz infinity-for-reddit-685a39ba58fab82cc0486e49394a0f398bba8254.tar.xz infinity-for-reddit-685a39ba58fab82cc0486e49394a0f398bba8254.tar.zst infinity-for-reddit-685a39ba58fab82cc0486e49394a0f398bba8254.zip |
Fix UI issues in post and comment item. Fix Reddit gallery post cannot be opened in PostCompactLayout when clicking the imageview.
Diffstat (limited to '')
-rw-r--r-- | app/src/main/res/layout/item_comment.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/app/src/main/res/layout/item_comment.xml b/app/src/main/res/layout/item_comment.xml index e2ab9170..8724cda8 100644 --- a/app/src/main/res/layout/item_comment.xml +++ b/app/src/main/res/layout/item_comment.xml @@ -32,7 +32,7 @@ <TextView android:id="@+id/author_text_view_item_post_comment" - android:layout_width="0dp" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:drawablePadding="4dp" @@ -42,12 +42,12 @@ app:layout_constraintEnd_toStartOf="@+id/barrier" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" - app:layout_constraintWidth_default="wrap" + app:layout_constrainedWidth="true" app:layout_constraintHorizontal_bias="0" /> <TextView android:id="@+id/author_flair_text_view_item_post_comment" - android:layout_width="0dp" + android:layout_width="wrap_content" android:layout_height="wrap_content" android:layout_marginEnd="8dp" android:fontFamily="?attr/font_family" @@ -58,7 +58,7 @@ app:layout_constraintHorizontal_bias="0" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/author_text_view_item_post_comment" - app:layout_constraintWidth_default="wrap" + app:layout_constrainedWidth="true" tools:visibility="visible" /> <TextView |