1
+ <?xml version =" 1.0" encoding =" utf-8" ?>
2
+ <layout xmlns : android =" http://schemas.android.com/apk/res/android"
3
+ xmlns : app =" http://schemas.android.com/apk/res-auto"
4
+ xmlns : tools =" http://schemas.android.com/tools" >
5
+
6
+ <data >
7
+
8
+ <variable
9
+ name =" recruitPost"
10
+ type =" com.whyranoid.domain.model.RecruitPost" />
11
+ </data >
12
+
13
+ <androidx .constraintlayout.widget.ConstraintLayout
14
+ android : layout_width =" match_parent"
15
+ android : layout_height =" wrap_content" >
16
+
17
+ <ImageView
18
+ android : id =" @+id/iv_leader_profile"
19
+ loadImage =" @{recruitPost.author.profileUrl}"
20
+ android : layout_width =" 50dp"
21
+ android : layout_height =" 50dp"
22
+ android : layout_margin =" 16dp"
23
+ app : layout_constraintStart_toStartOf =" parent"
24
+ app : layout_constraintTop_toTopOf =" parent" />
25
+
26
+ <TextView
27
+ android : id =" @+id/tv_leader_name"
28
+ android : layout_width =" wrap_content"
29
+ android : layout_height =" wrap_content"
30
+ android : layout_margin =" 16dp"
31
+ android : text =" @{recruitPost.author.name}"
32
+ app : layout_constraintStart_toEndOf =" @id/iv_leader_profile"
33
+ app : layout_constraintTop_toTopOf =" parent"
34
+ tools : text =" 수피치" />
35
+
36
+ <TextView
37
+ android : id =" @+id/tv_group_name"
38
+ style =" @style/MoGakRunText.ExtraBold"
39
+ android : layout_width =" 0dp"
40
+ android : layout_height =" wrap_content"
41
+ android : layout_margin =" 16dp"
42
+ android : layout_marginTop =" 16dp"
43
+ android : gravity =" center"
44
+ android : text =" @{recruitPost.groupInfo.name}"
45
+ app : layout_constraintEnd_toEndOf =" parent"
46
+ app : layout_constraintStart_toStartOf =" parent"
47
+ app : layout_constraintTop_toBottomOf =" @id/tv_leader_name"
48
+ tools : text =" 수피치와 함께 춤을\n출까 말까" />
49
+
50
+ <TextView
51
+ android : id =" @+id/tv_group_introduce"
52
+ style =" @style/MoGakRunText.Bold.Large"
53
+ android : layout_width =" 0dp"
54
+ android : layout_height =" wrap_content"
55
+ android : layout_margin =" 16dp"
56
+ android : gravity =" center"
57
+ android : text =" @{recruitPost.groupInfo.introduce}"
58
+ app : layout_constraintEnd_toEndOf =" parent"
59
+ app : layout_constraintStart_toStartOf =" parent"
60
+ app : layout_constraintTop_toBottomOf =" @id/tv_group_name"
61
+ tools : text =" 우리 그룹은요\n이러쿵\n저러쿵\n이렇고요\n저렇고요" />
62
+
63
+ <TextView
64
+ android : id =" @+id/tv_rules"
65
+ style =" @style/MoGakRunText.Bold.Medium"
66
+ android : layout_width =" 0dp"
67
+ android : layout_height =" wrap_content"
68
+ android : layout_margin =" 16dp"
69
+ android : gravity =" center"
70
+ android : text =" @{recruitPost.groupInfo.rules.toString()}"
71
+ app : layout_constraintEnd_toEndOf =" parent"
72
+ app : layout_constraintStart_toStartOf =" parent"
73
+ app : layout_constraintTop_toBottomOf =" @id/tv_group_introduce"
74
+ tools : text =" 규칙들\n이 적히게\n됩니다." />
75
+
76
+ <com .google.android.material.button.MaterialButton
77
+ android : id =" @+id/btn_join_group"
78
+ android : layout_width =" wrap_content"
79
+ android : layout_height =" wrap_content"
80
+ android : layout_margin =" 16dp"
81
+ android : text =" @string/text_join_group"
82
+ app : layout_constraintStart_toStartOf =" parent"
83
+ app : layout_constraintTop_toBottomOf =" @id/tv_rules" />
84
+
85
+ </androidx .constraintlayout.widget.ConstraintLayout>
86
+ </layout >
0 commit comments