forked from Tencent/APIJSON
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathalert_dialog.xml
More file actions
executable file
·60 lines (51 loc) · 2.12 KB
/
alert_dialog.xml
File metadata and controls
executable file
·60 lines (51 loc) · 2.12 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
<?xml version="1.0" encoding="UTF-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:layout_width="280dp"
android:layout_height="wrap_content"
android:background="@drawable/edit_item_text_bg"
android:clickable="true"
android:orientation="vertical" >
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/common_item_distance" >
<TextView
android:id="@+id/tvAlertDialogTitle"
style="@style/text_huge_black"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:gravity="center"
android:orientation="horizontal"
android:paddingTop="@dimen/common_item_left_tv_padding"
android:text="Title" />
<TextView
android:id="@+id/tvAlertDialogMessage"
style="@style/text_middle"
android:textColor="@color/gray_4"
android:layout_margin="@dimen/common_item_left_tv_padding"
android:gravity="left|top" />
</LinearLayout>
<View style="@style/divider_horizontal_1px" />
<LinearLayout style="@style/ll_horizontal_match_wrap" >
<Button
android:id="@+id/btnAlertDialogNegative"
style="@style/text_middle"
android:layout_width="0dp"
android:layout_weight="1"
android:background="@drawable/bg_item_to_alpha"
android:padding="@dimen/common_item_distance"
android:text="取消"
android:textColor="@color/gray_3"
android:visibility="visible" />
<View style="@style/divider_vertical_1px" />
<Button
android:id="@+id/btnAlertDialogPositive"
style="@style/text_middle_black"
android:layout_width="0dp"
android:layout_weight="1"
android:background="@drawable/bg_item_to_alpha"
android:padding="@dimen/common_item_distance"
android:text="确定" />
</LinearLayout>
</LinearLayout>