ht_dialog_exit.xml
4.2 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:gravity="center"
android:orientation="vertical"
android:layout_gravity="center"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
style="@style/ht_title_style"
android:layout_height="wrap_content">
<TextView
style="@style/ht_title_text_style"
android:layout_width="match_parent"
android:layout_height="40dp"
android:text="退出游戏" />
<ImageView
android:id="@+id/ht_close_img"
style="@style/ht_close_style"
android:layout_width="18dp"
android:layout_height="18dp" />
</RelativeLayout>
<LinearLayout
android:gravity="center"
android:orientation="vertical"
style="@style/ht_content_style"
android:layout_width="match_parent"
android:layout_height="wrap_content">
<RelativeLayout
android:layout_width="match_parent"
android:gravity="center"
android:layout_height="120dp">
<LinearLayout
android:id="@+id/ht_exit_gzh_ly"
android:layout_width="match_parent"
android:orientation="vertical"
android:gravity="center"
android:layout_height="match_parent">
<TextView
android:id="@+id/ht_exit_gzh_tips"
android:gravity="center"
android:textColor="@color/ht_dec_text_black_color"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="false"
android:textSize="12sp"
android:textStyle="bold"
android:text="关注官方公众号,领取福利(点击复制)" />
<ImageView
android:id="@+id/ht_exit_gzh_img"
android:layout_width="wrap_content"
android:layout_weight="1"
android:scaleType="centerInside"
android:padding="1dp"
android:layout_margin="10dp"
android:layout_height="0dp"
android:src="@drawable/ht_icon_gzh" />
<TextView
android:id="@+id/ht_exit_gzh_content"
android:gravity="center"
android:textColor="@color/ht_common_text"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="false"
android:textStyle="bold"
android:text="公众号:白桃互娱" />
</LinearLayout>
<TextView
android:id="@+id/ht_exit_default_view"
android:visibility="gone"
android:textColor="@color/ht_dec_text_black_color"
android:gravity="center"
android:layout_centerInParent="true"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:singleLine="false"
android:text="考虑清楚\n要退出游戏吗?" />
</RelativeLayout>
<LinearLayout
android:gravity="center"
android:orientation="horizontal"
android:layout_width="match_parent"
android:layout_marginTop="10dp"
android:layout_marginBottom="10dp"
android:weightSum="3"
android:layout_height="wrap_content">
<Button
android:id="@+id/ht_exit_sure"
style="@style/ht_button_style"
android:textColor="@color/ht_white"
android:layout_weight="1"
android:textStyle="bold"
android:layout_width="wrap_content"
android:layout_height="35dp"
android:text="退出游戏" />
<Button
android:id="@+id/ht_exit_cencal"
android:textColor="@color/ht_white"
style="@style/ht_button_style"
android:layout_weight="1"
android:textStyle="bold"
android:layout_marginLeft="20dp"
android:layout_width="wrap_content"
android:layout_height="35dp"
android:text="继续游戏" />
</LinearLayout>
</LinearLayout>
</LinearLayout>