dialog_message_confirm.xml
2.87 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
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:orientation="vertical"
android:background="@drawable/shape_radius_10"
android:backgroundTint="@color/white"
android:layout_gravity="center"
android:layout_width="280dp"
android:layout_height="wrap_content">
<TextView
android:id="@+id/tvTitle"
tools:text="温馨提示"
android:textSize="18sp"
android:textColor="#333"
android:textStyle="bold"
android:layout_gravity="center_horizontal"
android:layout_marginTop="20dp"
android:layout_width="wrap_content"
android:layout_height="wrap_content"/>
<TextView
android:id="@+id/tvMessage"
tools:text="确认要删除吗?一旦删除不可恢复"
android:textSize="14sp"
android:textColor="#333"
android:gravity="center"
android:layout_marginHorizontal="15dp"
android:layout_marginTop="16dp"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
<View
android:background="#EEE"
android:layout_marginHorizontal="10dp"
android:layout_marginTop="26dp"
android:layout_width="match_parent"
android:layout_height="1dp"/>
<LinearLayout
android:orientation="horizontal"
android:weightSum="2"
android:layout_width="match_parent"
android:layout_height="44dp">
<TextView
android:id="@+id/btnNegative"
tools:text="取消"
android:textSize="17sp"
android:textColor="#999"
android:textStyle="bold"
android:gravity="center"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"/>
<View
android:background="#EEE"
android:layout_marginVertical="3dp"
android:layout_width="1dp"
android:layout_height="match_parent"/>
<TextView
android:id="@+id/btnPositive"
tools:text="确定"
android:textSize="17sp"
android:textColor="#1C90F3"
android:textStyle="bold"
android:gravity="center"
android:layout_weight="1"
android:layout_width="0dp"
android:layout_height="match_parent"/>
</LinearLayout>
</LinearLayout>
</FrameLayout>