brsdk_confirm.xml
2.9 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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout
xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
style="@style/brsdk_layout_root"
android:padding="0dp"
tools:layout_marginStart="32dp"
tools:layout_marginEnd="32dp"
tools:layout_gravity="center"
>
<TextView
android:id="@+id/brTitle"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:paddingTop="@dimen/brsdk_space_16dp"
android:paddingStart="@dimen/brsdk_space_16dp"
android:paddingEnd="@dimen/brsdk_space_16dp"
android:textColor="@color/brsdk_white"
android:includeFontPadding="false"
android:textSize="@dimen/brsdk_font_16sp"
android:gravity="center"
tools:text="警告"
/>
<TextView
android:id="@+id/brMessage"
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:textColor="@color/brsdk_white"
android:includeFontPadding="false"
android:padding="@dimen/brsdk_space_16dp"
android:lineSpacingExtra="@dimen/brsdk_space_8dp"
android:textSize="@dimen/brsdk_font_16sp"
android:minHeight="80dp"
android:gravity="center"
tools:text="这是通知消息\n这是第二行"
/>
<View
android:layout_width="match_parent"
android:layout_height="@dimen/brsdk_space_1dp"
android:background="@drawable/brsdk_divider_h"
/>
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="horizontal"
android:divider="@drawable/brsdk_divider_v"
android:showDividers="middle"
>
<TextView
android:id="@+id/brNegative"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:textColor="@color/brsdk_white"
android:includeFontPadding="false"
android:padding="@dimen/brsdk_space_12dp"
android:textSize="@dimen/brsdk_font_16sp"
android:visibility="gone"
android:gravity="center"
tools:text="取消"
tools:visibility="visible"
/>
<TextView
android:id="@+id/brPositive"
android:layout_width="0dp"
android:layout_weight="1"
android:layout_height="wrap_content"
android:textColor="@color/brsdk_theme"
android:includeFontPadding="false"
android:padding="@dimen/brsdk_space_12dp"
android:textSize="@dimen/brsdk_font_16sp"
android:visibility="gone"
android:gravity="center"
tools:text="确定"
tools:visibility="visible"
/>
</LinearLayout>
</LinearLayout>