Blame view

footsafety/app/src/main/res/layout/item_layout_users_item.xml 3.16 KB
f7a13682   “wangming”   项目初始化
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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
  <?xml version="1.0" encoding="utf-8"?>
  <RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:tools="http://schemas.android.com/tools" android:layout_width="match_parent"
      android:layout_height="@dimen/eighty_height">
  
      <LinearLayout
          android:id="@+id/ll_main_layout"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:background="@color/whitecolor">
  
          <LinearLayout
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="0.3"
              android:gravity="center">
  
              <RelativeLayout
                  android:id="@+id/rl_imagelayout"
                  android:layout_width="@dimen/sixty_width"
                  android:layout_height="@dimen/sixty_height"
                  android:background="@drawable/black_circle_bg"
                  android:gravity="center">
  
                  <ImageView
                      android:layout_width="@dimen/twentyfour_width"
                      android:layout_height="@dimen/twentyfour_height"
                      android:padding="@dimen/padding_two"
                      android:src="@drawable/icon_user" />
  
              </RelativeLayout>
  
              <de.hdodenhof.circleimageview.CircleImageView
                  android:id="@+id/user_pro_img"
                  android:layout_width="@dimen/sixty_width"
                  android:layout_height="@dimen/sixty_height"
                  android:visibility="gone" />
  
  
          </LinearLayout>
  
          <LinearLayout
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="1"
              android:gravity="center_vertical"
              android:orientation="vertical"
              android:paddingStart="@dimen/padding_start_five">
  
              <TextView
                  android:id="@+id/user_name_txt"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textColor="@color/blackcolor"
                  android:textSize="@dimen/seventeenText_size" />
  
              <TextView
                  android:id="@+id/user_role_txt"
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:textColor="@color/textcolor"
                  android:textSize="@dimen/fourteenText_size" />
  
          </LinearLayout>
  
          <RelativeLayout
              android:layout_width="0dp"
              android:layout_height="match_parent"
              android:layout_weight="0.12">
  
              <ImageView
                  android:layout_width="@dimen/twentyfour_width"
                  android:layout_height="@dimen/twentyfour_height"
                  android:layout_centerInParent="true"
                  android:padding="@dimen/padding_four"
                  android:src="@drawable/icon_forward"
                  android:tint="@color/blackcolor" />
  
          </RelativeLayout>
  
      </LinearLayout>
  
      <View
          android:layout_width="match_parent"
          android:layout_height="0.6dp"
          android:layout_alignParentBottom="true"
          android:background="@color/textcolor" />
  
  </RelativeLayout>