From 685a39ba58fab82cc0486e49394a0f398bba8254 Mon Sep 17 00:00:00 2001 From: Alex Ning Date: Sat, 18 Jul 2020 21:56:39 +0800 Subject: Fix UI issues in post and comment item. Fix Reddit gallery post cannot be opened in PostCompactLayout when clicking the imageview. --- app/src/main/res/layout/item_post_text.xml | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'app/src/main/res/layout/item_post_text.xml') diff --git a/app/src/main/res/layout/item_post_text.xml b/app/src/main/res/layout/item_post_text.xml index c79fd6fc..e7d1867b 100644 --- a/app/src/main/res/layout/item_post_text.xml +++ b/app/src/main/res/layout/item_post_text.xml @@ -3,6 +3,7 @@ xmlns:app="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="wrap_content" + xmlns:tools="http://schemas.android.com/tools" android:layout_marginTop="8dp" android:layout_marginBottom="8dp" android:id="@+id/card_view_item_post_text_type" @@ -31,7 +32,7 @@ + app:layout_constraintTop_toTopOf="parent" + app:layout_constrainedWidth="true" + app:layout_constraintHorizontal_bias="0" /> + app:layout_constraintHorizontal_bias="0" + app:layout_constrainedWidth="true" /> + app:layout_constraintTop_toTopOf="parent" + tools:visibility="visible" />