dialog_command.xml
4.32 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
<?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:id="@+id/clRoot"
android:layout_width="match_parent"
android:layout_height="match_parent">
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/clContent"
android:layout_width="@dimen/rmrb_dp270"
android:layout_height="wrap_content"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent"
android:layout_marginTop="@dimen/rmrb_dp62">
<!-- 提示和提示内容-->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/clTop"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/rmrb_dp126"
android:background="@drawable/bg_command_gradient_top_fff8e5_ffffff_10"
app:layout_constraintTop_toTopOf="parent">
<TextView
android:id="@+id/tvTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="@dimen/rmrb_dp40"
android:gravity="center"
android:text="提示"
android:textColor="#FF333333"
android:textSize="@dimen/rmrb_dp18"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tvContent"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginHorizontal="@dimen/rmrb_dp20"
android:layout_marginTop="@dimen/rmrb_dp8"
android:layout_marginBottom="@dimen/rmrb_dp25"
android:text="你已被成功邀请,马上登录你和好友都能获得10积分"
android:textColor="#FF222222"
android:textSize="@dimen/rmrb_dp16"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintTop_toBottomOf="@+id/tvTitle" />
</androidx.constraintlayout.widget.ConstraintLayout>
<View
android:id="@+id/vLine"
android:layout_width="match_parent"
android:layout_height="0.5dp"
android:background="#F5F5F5"
app:layout_constraintTop_toBottomOf="@+id/clTop" />
<!-- 去登录-->
<androidx.constraintlayout.widget.ConstraintLayout
android:id="@+id/clBottom"
android:layout_width="match_parent"
android:layout_height="@dimen/rmrb_dp48"
android:background="@drawable/bg_command_bottom_ffffff_10"
app:layout_constraintTop_toBottomOf="@+id/vLine">
<TextView
android:id="@+id/tvGo"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:gravity="center"
android:text="去登录"
android:textColor="#FFED2800"
android:textSize="@dimen/rmrb_dp16" />
</androidx.constraintlayout.widget.ConstraintLayout>
<!-- logo-->
<com.airbnb.lottie.LottieAnimationView
android:id="@+id/lavLogo"
android:layout_width="@dimen/rmrb_dp150"
android:layout_height="@dimen/rmrb_dp175"
app:lottie_autoPlay="false"
app:lottie_loop="false"
android:scaleType="centerCrop"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
<ImageView
android:id="@+id/ivClose"
android:layout_width="@dimen/rmrb_dp32"
android:layout_height="@dimen/rmrb_dp32"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toBottomOf="@+id/clContent"
android:layout_marginTop="@dimen/rmrb_dp24"
android:src="@mipmap/ic_command_close"
/>
</androidx.constraintlayout.widget.ConstraintLayout>