From 0f461a502365d20ed2f887029ff6a8826304c33b Mon Sep 17 00:00:00 2001
From: MrShi <1878285526@qq.com>
Date: 星期一, 20 十月 2025 11:05:00 +0800
Subject: [PATCH] 优化
---
keyCabinet-android/app/src/main/res/layout/face_rcv_item.xml | 75 +++++++++++++++++++++++++++++++++++++
1 files changed, 75 insertions(+), 0 deletions(-)
diff --git a/keyCabinet-android/app/src/main/res/layout/face_rcv_item.xml b/keyCabinet-android/app/src/main/res/layout/face_rcv_item.xml
new file mode 100644
index 0000000..3988d0a
--- /dev/null
+++ b/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>
\ No newline at end of file
--
Gitblit v1.9.3