From e7a6728aea008cab5befa5980382370c32974ce5 Mon Sep 17 00:00:00 2001 From: 张钢 <floatgang@163.com> Date: 星期三, 11 九月 2024 14:51:07 +0800 Subject: [PATCH] 修改了百年心愿模块的排版和显示不正确的问题 --- app/src/main/res/layout/item_pet_image.xml | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/app/src/main/res/layout/item_pet_image.xml b/app/src/main/res/layout/item_pet_image.xml index ca4df99..dd45a52 100644 --- a/app/src/main/res/layout/item_pet_image.xml +++ b/app/src/main/res/layout/item_pet_image.xml @@ -12,17 +12,16 @@ <androidx.constraintlayout.widget.ConstraintLayout android:layout_width="match_parent" android:layout_height="wrap_content" - android:paddingBottom="10dp" > <androidx.constraintlayout.utils.widget.ImageFilterView android:layout_width="0dp" android:layout_height="0dp" app:layout_constraintDimensionRatio="1:1" - app:layout_constraintWidth_percent="0.8" + app:layout_constraintWidth_percent="1" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:round="10dp" - android:background="@drawable/img_lotus" + app:imageUrl="@{url}" /> </androidx.constraintlayout.widget.ConstraintLayout> -- Gitblit v1.9.1