comp_people_top.xml
7.01 KB
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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/viewHead"
android:layout_width="match_parent"
android:layout_height="wrap_content"
tools:visibility="visible">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/people_lay"
android:layout_width="0dp"
android:layout_height="match_parent"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintEnd_toStartOf="@+id/moreBtn"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.wd.foundation.wdkit.view.CircleImageView
android:id="@+id/head_icon"
android:layout_width="@dimen/rmrb_dp36"
android:layout_height="@dimen/rmrb_dp36"
android:layout_gravity="center_vertical"
android:layout_marginStart="@dimen/rmrb_dp2_5"
android:background="@drawable/shape_comp_image_frame_circle"
android:padding="@dimen/rmrb_dp0_5"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@mipmap/icon_default_head" />
<ImageView
android:id="@+id/imgavatarframe"
android:layout_width="@dimen/rmrb_dp41"
android:layout_height="@dimen/rmrb_dp41"
android:layout_centerVertical="true"
android:scaleType="fitXY"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:src="@color/color_F5DFE1" />
<!-- 人民号认证加V-号主页 作品列表(CompCommonListAdapter)之
大图卡-人民号、动态视频卡-人民号、大图卡
三图卡-人民号、动态图文卡-人民号、三图卡
小视频卡 小视频卡-人民号
无图卡(全标题)、无图卡(标题缩略)、无图卡(标题缩略)-人民号
单图卡、单图卡-人民号
图集卡 图集卡-人民号
-->
<com.wd.foundation.wdkit.view.RoundImageView
android:id="@+id/ivvip"
android:layout_width="@dimen/rmrb_dp12"
android:layout_height="@dimen/rmrb_dp12"
android:src="@mipmap/icon_yellow_v"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="@+id/head_icon"
app:layout_constraintRight_toRightOf="@+id/head_icon"
tools:visibility="visible" />
<TextView
android:id="@+id/author_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp8"
android:layout_marginBottom="@dimen/rmrb_dp3"
android:text="号主"
android:textColor="@color/res_color_common_C1"
android:textFontWeight="600"
android:textSize="@dimen/rmrb_dp15"
app:layout_constraintLeft_toRightOf="@+id/head_icon"
app:layout_constraintTop_toTopOf="@+id/head_icon" />
<LinearLayout
android:id="@+id/llDescParent"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp8"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="@+id/head_icon"
app:layout_constraintTop_toBottomOf="@+id/author_tv"
app:layout_constraintLeft_toRightOf="@+id/head_icon"
app:layout_constraintRight_toRightOf="parent">
<TextView
android:id="@+id/tv_publish_status"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:textSize="@dimen/rmrb_dp12"
android:visibility="gone" />
<ImageView
android:id="@+id/img_dian_publish"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@mipmap/rmrb_bottom_drop"
android:visibility="gone" />
<TextView
android:id="@+id/time_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/res_color_common_C4"
android:textSize="@dimen/rmrb_dp12" />
<ImageView
android:id="@+id/img_dian"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_gravity="center"
android:src="@mipmap/rmrb_bottom_drop" />
<TextView
android:id="@+id/desc_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="1"
android:textColor="@color/res_color_common_C4"
android:textSize="@dimen/rmrb_dp12" />
</LinearLayout>
</androidx.constraintlayout.widget.ConstraintLayout>
<LinearLayout
android:id="@+id/attention_lay"
android:layout_width="@dimen/rmrb_dp55"
android:layout_height="@dimen/rmrb_dp24"
android:gravity="center_vertical|right"
android:orientation="horizontal"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent">
<ImageView
android:id="@+id/add_attention"
android:layout_width="@dimen/rmrb_dp18"
android:layout_height="@dimen/rmrb_dp18"
android:layout_marginRight="@dimen/rmrb_dp2"
android:src="@mipmap/rmrb_attention_btn" />
<TextView
android:id="@+id/attention_tv"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="关注"
android:textColor="@color/res_color_common_C11"
android:textSize="@dimen/rmrb_dp14" />
</LinearLayout>
<ImageView
android:id="@+id/moreBtn"
android:layout_width="@dimen/rmrb_dp16"
android:layout_height="@dimen/rmrb_dp16"
android:src="@mipmap/rmrb_more_icon"
android:visibility="gone"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintRight_toLeftOf="@+id/attention_lay"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
tools:visibility="visible" />
</androidx.constraintlayout.widget.ConstraintLayout>