wangguan
2020-12-29 452c75675679c44cc39b04bdb7d330d7c5c14d5c
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
83
84
85
86
87
88
89
90
91
92
93
<?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:minWidth="320dp"
    android:layout_margin="5dp"
    android:layout_gravity="center"
    android:orientation="vertical">
 
    <LinearLayout
        android:id="@+id/material_background"
        android:layout_width="match_parent"
        android:layout_height="match_parent"
        android:background="@drawable/bjskres_material_bg_card"
        android:orientation="vertical">
 
        <LinearLayout
            android:id="@+id/contentView"
            android:layout_width="match_parent"
            android:layout_height="match_parent"
            android:layout_weight="1"
            android:orientation="vertical">
 
            <TextView
                android:id="@+id/title"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginStart="20dp"
                android:layout_marginTop="20dp"
                android:layout_marginEnd="20dp"
                android:textColor="@color/bjskres_black_de"
                android:textSize="23sp"
                android:text="Material title"/>
 
            <ScrollView
                android:layout_weight="1"
                android:id="@+id/message_content_root"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_marginTop="20dp"
                
                >
 
                <LinearLayout
                    android:id="@+id/message_content_view"
                    android:layout_width="match_parent"
                    android:layout_height="wrap_content"
                    android:paddingLeft="20dp"
                    android:paddingRight="20dp">
 
                    <TextView
                        android:id="@+id/message"
                        android:layout_width="match_parent"
                        android:layout_height="wrap_content"
                        android:lineSpacingMultiplier="1.2"
                        android:textColor="#8a000000"
                        android:textSize="16sp"
                        android:text="message"/>
                </LinearLayout>
 
            </ScrollView>
 
        </LinearLayout>
 
        <LinearLayout
            android:id="@+id/buttonLayout"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:padding="5dp"
            android:layout_marginStart="15dp"
            android:layout_marginEnd="15dp"
            android:layout_marginBottom="12dp"
            android:layout_gravity="end"
            android:gravity="center_vertical"
            android:visibility="visible"
            >
 
            <Button
                android:id="@+id/btn_n"
                style="@style/bjskres_md_action_button"
                android:textColor="@color/bjskres_black_de"
                android:text="CANCEL"/>
 
            <Button
                android:id="@+id/btn_p"
                style="@style/bjskres_md_action_button"
                android:layout_marginStart="5dp"
                android:textColor="#ff239ff2"
                android:text="OK"/>
        </LinearLayout>
 
    </LinearLayout>
</LinearLayout>