comp_manuscript_style_content_07.xml
4.88 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
<?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:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:id="@+id/imageLay"
android:layout_width="@dimen/rmrb_dp108"
android:layout_height="@dimen/rmrb_dp144"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="parent">
<com.wd.foundation.wdkit.view.RoundCornerImageView
android:id="@+id/imageView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape_comp_image_frame_4"
android:scaleType="centerCrop"
android:src="@drawable/rmrb_placeholder_compe_all"
app:leftBottomRadius="@dimen/rmrb_dp3_5"
app:leftTopRadius="@dimen/rmrb_dp3_5"
app:rightBottomRadius="@dimen/rmrb_dp3_5"
app:rightTopRadius="@dimen/rmrb_dp3_5" />
<!--图片框子-->
<View
android:id="@+id/flImage"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@drawable/shape_comp_image_frame_4" />
<include
layout="@layout/comp_activity_image_tag"
android:visibility="invisible" />
</RelativeLayout>
<RelativeLayout
android:id="@+id/rltitlelabel"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp12"
app:layout_constraintLeft_toRightOf="@+id/imageLay"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="@+id/imageLay">
<com.view.text.view.TagTextView
android:id="@+id/tvTitle"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:ellipsize="end"
android:maxLines="2"
android:textColor="@color/res_color_common_C1"
android:textSize="@dimen/rmrb_dp17"
tools:text="抽奖 标题标题标题标题标题标题"
android:includeFontPadding="false"
android:gravity="center_vertical"
android:paddingVertical="@dimen/rmrb_dp3"/>
</RelativeLayout>
<TextView
android:id="@+id/tvData"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/rmrb_dp5"
android:drawableLeft="@mipmap/comp_icon_activity_data"
android:drawablePadding="@dimen/rmrb_dp2"
android:text="时间:2023.11.01~2023.12.01"
android:textColor="@color/res_color_common_C3"
android:textSize="@dimen/rmrb_dp12"
app:layout_constraintLeft_toLeftOf="@+id/rltitlelabel"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/rltitlelabel" />
<TextView
android:id="@+id/tv_participants_number"
android:layout_width="0dp"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/rmrb_dp4"
android:drawableLeft="@mipmap/comp_icon_activity_participants_nunber"
android:drawablePadding="@dimen/rmrb_dp2"
android:text="2.3万人参加"
android:textColor="@color/res_color_common_C3"
android:textSize="@dimen/rmrb_dp12"
app:layout_constraintLeft_toLeftOf="@+id/rltitlelabel"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvData"
android:visibility="gone"
tools:visibility="visible"/>
<com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
android:id="@+id/tvLookDetail"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp12"
android:gravity="center"
android:text="@string/comp_activity_join"
android:maxLines="1"
android:ellipsize="end"
android:layout_marginRight="@dimen/rmrb_dp50"
android:textColor="@color/res_color_common_C11"
app:text_stroke_width="0.5"
app:layout_constraintBottom_toBottomOf="@+id/imageLay"
app:layout_constraintLeft_toRightOf="@+id/imageLay"
android:layout_marginBottom="@dimen/rmrb_dp3"/>
<ImageView
android:layout_width="@dimen/rmrb_dp14"
android:layout_height="@dimen/rmrb_dp14"
app:layout_constraintLeft_toRightOf="@+id/tvLookDetail"
app:layout_constraintTop_toTopOf="@+id/tvLookDetail"
app:layout_constraintBottom_toBottomOf="@+id/tvLookDetail"
android:src="@mipmap/icon_activity_next"/>
</androidx.constraintlayout.widget.ConstraintLayout>