Linjiajia
2023-12-29 590c1cff46b105d774271f950caa9f65523f05c1
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"