dialog_agreement.xml
4.84 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
<?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"
android:layout_width="match_parent"
android:layout_height="match_parent">
<com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
android:id="@+id/tv_agreement_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:paddingTop="@dimen/rmrb_dp20"
android:paddingBottom="@dimen/rmrb_dp12"
android:text="@string/privacy_guidelines"
android:textColor="@color/res_color_common_C1_keep"
android:textSize="@dimen/rmrb_dp18"
app:text_stroke_width="0.5"
app:layout_constraintEnd_toEndOf="parent"
app:layout_constraintStart_toStartOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_agreement_sub_title"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp10"
android:layout_marginRight="@dimen/rmrb_dp10"
android:lineSpacingExtra="@dimen/rmrb_dp3"
android:paddingHorizontal="@dimen/rmrb_dp6"
android:textColor="@color/res_color_common_C2_keep"
android:textSize="@dimen/rmrb_dp14"
android:textFontWeight="400"
android:text="@string/privacy_detail_title"
app:layout_constraintTop_toBottomOf="@+id/tv_agreement_title" />
<TextView
android:id="@+id/tv_agreement_content"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp10"
android:layout_marginRight="@dimen/rmrb_dp10"
android:lineSpacingExtra="@dimen/rmrb_dp4"
android:paddingHorizontal="@dimen/rmrb_dp6"
android:layout_marginTop="@dimen/rmrb_dp6"
android:textColor="@color/res_color_common_C2_keep"
android:textSize="@dimen/rmrb_dp14"
android:textFontWeight="400"
android:text="@string/privacy_detail"
app:layout_constraintTop_toBottomOf="@+id/tv_agreement_sub_title" />
<TextView
android:id="@+id/tv_agreement_tip"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginLeft="@dimen/rmrb_dp10"
android:layout_marginRight="@dimen/rmrb_dp10"
android:lineSpacingExtra="@dimen/rmrb_dp2"
android:paddingHorizontal="@dimen/rmrb_dp6"
android:gravity="center_horizontal"
android:paddingTop="@dimen/rmrb_dp18"
android:paddingBottom="@dimen/rmrb_dp9"
android:textColor="@color/res_color_common_C1_keep"
android:textSize="@dimen/rmrb_dp14"
android:textFontWeight="400"
android:text="@string/privacy_tip"
app:layout_constraintTop_toBottomOf="@+id/tv_agreement_content" />
<View
android:id="@+id/line_bottom"
android:layout_width="match_parent"
android:layout_height="@dimen/rmrb_dp1"
android:background="@color/res_color_common_C7_keep"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tv_agreement_tip"/>
<com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
android:id="@+id/tv_disagree"
android:layout_width="0dp"
app:layout_constraintHorizontal_weight="1"
android:layout_height="@dimen/rmrb_dp44"
app:layout_constraintTop_toBottomOf="@+id/line_bottom"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toLeftOf="@+id/tv_agree"
android:gravity="center"
android:text="@string/dialog_no_agree"
android:textColor="@color/res_color_common_C3_keep"
android:textSize="@dimen/rmrb_dp16"
app:text_stroke_width="0.5"
/>
<com.wd.foundation.wdkit.view.customtextview.StrokeWidthTextView
android:id="@+id/tv_agree"
android:layout_width="0dp"
app:layout_constraintHorizontal_weight="1"
android:layout_height="@dimen/rmrb_dp44"
android:gravity="center"
android:text="@string/dialog_agree"
android:textColor="@color/res_color_common_C8_keep"
android:textSize="@dimen/rmrb_dp16"
android:background="@color/res_color_common_C11_keep"
app:text_stroke_width="0.5"
app:layout_constraintTop_toBottomOf="@id/line_bottom"
app:layout_constraintLeft_toRightOf="@+id/tv_disagree"
app:layout_constraintRight_toRightOf="parent"
/>
</androidx.constraintlayout.widget.ConstraintLayout>