From 590c1cff46b105d774271f950caa9f65523f05c1 Mon Sep 17 00:00:00 2001 From: Linjiajia <319408893@qq.com> Date: 星期五, 29 十二月 2023 20:20:40 +0800 Subject: [PATCH] 1、增加护眼模式主题\n2、修复显示问题 --- 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