From 8aa3165449dd2757e016bdc43cfd5d111cd4c7a6 Mon Sep 17 00:00:00 2001
From: 张钢 <floatgang@163.com>
Date: 星期四, 12 九月 2024 14:54:06 +0800
Subject: [PATCH] 修改了家庭资产的显示问题

---
 app/src/main/res/layout/item_pet.xml |   14 ++++++++++++--
 1 files changed, 12 insertions(+), 2 deletions(-)

diff --git a/app/src/main/res/layout/item_pet.xml b/app/src/main/res/layout/item_pet.xml
index f3848ab..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"
@@ -32,7 +32,17 @@
                     android:layout_width="match_parent"
                     android:layout_height="40dp"
                     android:gravity="center_vertical">
-
+                    <ImageView
+                        android:id="@+id/iv_flower"
+                        android:layout_width="wrap_content"
+                        android:layout_height="wrap_content"
+                        android:layout_marginStart="3dp"
+                        android:layout_centerVertical="true"
+                        android:background="?attr/icIsOwnFamilyDataFlower"
+                        app:layout_constraintStart_toStartOf="parent"
+                        app:layout_constraintTop_toTopOf="parent"
+                        app:layout_constraintBottom_toBottomOf="parent"
+                        />
                     <androidx.appcompat.widget.AppCompatTextView
                         android:id="@+id/textView1"
                         android:layout_width="0dp"

--
Gitblit v1.9.1