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_family_member.xml |   21 ++++++++++++++++++---
 1 files changed, 18 insertions(+), 3 deletions(-)

diff --git a/app/src/main/res/layout/item_family_member.xml b/app/src/main/res/layout/item_family_member.xml
index 80ea031..d5ed7a1 100644
--- a/app/src/main/res/layout/item_family_member.xml
+++ b/app/src/main/res/layout/item_family_member.xml
@@ -10,6 +10,7 @@
     </data>
 
     <androidx.cardview.widget.CardView
+        android:id="@+id/cv_container"
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         app:cardCornerRadius="10dp"
@@ -17,10 +18,23 @@
         app:cardBackgroundColor="@color/white"
         android:layout_margin="1dp">
 
+        <androidx.constraintlayout.utils.widget.ImageFilterView
+            android:id="@+id/iv_myself"
+            android:layout_width="18dp"
+            android:layout_height="18dp"
+            android:layout_gravity="center_vertical"
+            android:layout_marginHorizontal="2dp"
+            android:background="@drawable/ic_myself"
+            app:roundPercent="1"
+            android:elevation="10dp"
+            android:visibility="gone"
+            tools:visibility="visible"
+            />
         <LinearLayout
             android:layout_width="match_parent"
             android:layout_height="match_parent"
-            android:layout_marginHorizontal="10dp"
+            android:layout_marginEnd="20dp"
+            android:layout_marginStart="20dp"
             android:layout_marginVertical="5dp"
             android:orientation="horizontal"
             android:gravity="center"
@@ -36,7 +50,8 @@
                 android:textColor="#FFEBA4AA"
                 android:gravity="center"
                 android:maxLines="1"
-                tools:text="100"
+                tools:text="2"
+
                 />
 
             <!-- 澶村儚 -->
@@ -44,7 +59,7 @@
                 android:id="@+id/iv_avatar"
                 android:layout_width="30dp"
                 android:layout_height="30dp"
-                android:layout_marginStart="8dp"
+                android:layout_marginStart="5dp"
                 android:layout_marginEnd="10dp"
                 android:scaleType="fitCenter"
                 app:roundPercent="1"

--
Gitblit v1.9.1