MrShi
2025-10-20 0f461a502365d20ed2f887029ff6a8826304c33b
keyCabinet-android/app/src/main/res/layout/face_rcv_item.xml
对比新文件
@@ -0,0 +1,75 @@
<?xml version="1.0" encoding="utf-8"?>
<layout xmlns:app="http://schemas.android.com/apk/res-auto">
    <data>
        <variable
            name="data"
            type="com.doumee.keyCabinet.bean.FaceUserBean" />
    </data>
    <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
        android:id="@+id/rl_root"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:paddingRight="20dp"
        android:paddingBottom="20dp"
        >
        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:paddingTop="15dp"
            android:paddingBottom="15dp"
            android:background="@drawable/bg_round_users">
            <CheckBox
                android:id="@+id/check_btn"
                android:layout_width="20dp"
                android:layout_height="20dp"
                android:layout_centerVertical="true"
                android:layout_marginLeft="15dp"
                android:visibility="visible"
                android:button="@null"
                android:checked="false"
                android:clickable="false"
                android:focusable="false"
                android:background="@drawable/checkbox_selector"
                android:focusableInTouchMode="false"/>
            <com.facebook.drawee.view.SimpleDraweeView
                android:id="@+id/circle_user"
                android:layout_toRightOf="@id/check_btn"
                android:layout_marginLeft="18dp"
                android:layout_width="100dp"
                android:layout_height="100dp" />
            <TextView
                android:id="@+id/text_user_name"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@id/circle_user"
                android:layout_marginLeft="15dp"
                android:textSize="18sp"
                android:text="@{data.memberName}"
                android:textColor="@color/white"
                />
            <TextView
                android:id="@+id/text_sf"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_toRightOf="@id/circle_user"
                android:layout_marginLeft="15dp"
                android:textSize="14sp"
                android:text='@{"1".equals(data.groupId)?@string/face_hy:@string/face_xy}'
                android:textColor="@color/white"
                android:layout_marginTop="20dp"
                android:layout_below="@+id/text_user_name"/>
            <TextView
                android:id="@+id/text_user_info"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:visibility="gone" />
        </RelativeLayout>
    </RelativeLayout>
</layout>