doum
5 天以前 88c60e6e4e03eb59bde5f83a944c818dfecb3975
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
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>