ht_tips_dialog.xml
2.5 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:paddingRight="5dp"
android:paddingLeft="5dp"
android:layout_height="match_parent"
android:orientation="vertical">
<RelativeLayout
android:layout_width="match_parent"
style="@style/ht_title_style"
android:layout_height="wrap_content">
<TextView
android:id="@+id/ht_tips_title"
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">
<ScrollView
android:layout_width="match_parent"
android:padding="5dp"
android:layout_weight="1"
android:layout_height="0dp">
<TextView
android:id="@+id/ht_tips_content"
android:layout_width="match_parent"
android:textColor="@color/ht_common_text"
tools:text=""
android:layout_height="wrap_content" />
</ScrollView>
<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_tips_cancel"
style="@style/ht_button_style"
android:layout_weight="1"
android:layout_marginHorizontal="10dp"
android:textStyle="bold"
android:layout_width="0dp"
android:layout_height="35dp"
android:text="取消" />
<Button
android:id="@+id/ht_tips_sure"
style="@style/ht_button_style"
android:layout_weight="1"
android:textStyle="bold"
android:layout_marginHorizontal="10dp"
android:layout_width="0dp"
android:layout_height="35dp"
android:text="好的" />
</LinearLayout>
</LinearLayout>
</LinearLayout>