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.xml | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/src/main/res/layout/item_pet.xml b/app/src/main/res/layout/item_pet.xml index 363d416..2760f4d 100644 --- a/app/src/main/res/layout/item_pet.xml +++ b/app/src/main/res/layout/item_pet.xml @@ -20,7 +20,7 @@ android:layout_margin="@dimen/dp_2" app:cardCornerRadius="@dimen/dp_10" tools:layout_height="wrap_content" - app:cardBackgroundColor="@color/color_card_pink" + app:cardBackgroundColor="?attr/cardBackgroundColorFirst" > <LinearLayout android:layout_width="match_parent" @@ -38,7 +38,7 @@ android:layout_height="wrap_content" android:layout_marginStart="3dp" android:layout_centerVertical="true" - android:background="@drawable/ic_flower" + android:background="?attr/icIsOwnFamilyDataFlower" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" app:layout_constraintBottom_toBottomOf="parent" -- Gitblit v1.9.1