admin
2022-03-31 36754ba47da7a3277d5be183a523c912a1dc4cef
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
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@drawable/shape_user_protocol_dialog_bg"
    android:orientation="vertical">
 
    <TextView
        android:id="@+id/tv_title"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_marginTop="10dp"
        android:gravity="center"
        android:padding="8dp"
        android:text="温馨提示"
        android:textColor="@color/black"
        android:textSize="20sp" />
 
    <ScrollView
        android:layout_width="match_parent"
        android:layout_height="260dp"
        android:layout_marginLeft="10dp"
        android:layout_marginRight="10dp">
 
        <TextView
            android:id="@+id/tv_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:autoLink="all"
            android:textColor="#FF333333"
            android:background="@null"
            android:lineSpacingExtra="8sp"
            android:textSize="14sp"></TextView>
    </ScrollView>
 
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center"
        android:layout_margin="20dp">
 
        <TextView
            android:id="@+id/tv_negative"
            android:layout_width="0dp"
            android:layout_height="40dp"
            android:layout_gravity="center"
            android:layout_weight="1"
            android:background="@drawable/shape_dialog_user_protocol_negative"
            android:gravity="center"
            android:text="不同意"
            android:textColor="@color/white"
            android:textSize="16sp" />
 
        <View
            android:layout_width="10dp"
            android:layout_height="1dp"></View>
 
        <TextView
            android:id="@+id/tv_positive"
            android:layout_width="0dp"
            android:layout_height="40dp"
            android:layout_gravity="center"
            android:layout_weight="1"
            android:background="@drawable/shape_dialog_user_protocol_positive"
            android:gravity="center"
            android:text="同意"
            android:textColor="@color/white"
            android:textSize="16sp" />
 
    </LinearLayout>
</LinearLayout>