admin
2020-08-12 cefe2a41db4a275fb1e940a902cb156f1ed68d80
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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
<?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:orientation="vertical">
 
    <LinearLayout
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:background="#ffffffff"
        android:orientation="vertical">
 
        <TextView
            android:id="@+id/tv_dialog_title"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="10dp"
            android:gravity="center"
            android:text="更新提示"
            android:textColor="#FFc9b5ac"
            android:textSize="20sp" />
 
        <View
            android:layout_width="match_parent"
            android:layout_height="1dp"
            android:layout_marginLeft="25dp"
            android:layout_marginRight="25dp"
            android:layout_marginTop="10dp"
            android:background="#FFc9b5ac" />
 
        <LinearLayout
            android:layout_width="match_parent"
            android:layout_height="match_parent">
 
            <TextView
                android:id="@+id/tv_version"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_marginTop="8dp"
                android:layout_weight="1"
                android:paddingLeft="25dp"
                android:text="版本:2.1"
                android:textColor="#FFc9b5ac" />
 
            <TextView
                android:id="@+id/tv_size"
                android:layout_width="0dp"
                android:layout_height="match_parent"
                android:layout_marginTop="8dp"
                android:layout_weight="1"
                android:gravity="right"
                android:paddingRight="25dp"
                android:text="大小:21M"
                android:textColor="#FFc9b5ac" />
        </LinearLayout>
 
        <TextView
            android:id="@+id/tv_dialog_content"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="15dp"
            android:gravity="left"
            android:paddingLeft="25dp"
            android:paddingRight="25dp"
            android:text="更新提示"
            android:textColor="#FFc9b5ac"
            android:textSize="16sp" />
 
        <TextView
            android:id="@+id/tv_dialog_noti_wifi"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_marginTop="20dp"
            android:gravity="left"
            android:paddingLeft="25dp"
            android:paddingRight="25dp"
            android:text="@string/WIFI_NOTI"
            android:textColor="@color/red" />
    </LinearLayout>
 
    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:background="#ffffffff"
        android:orientation="horizontal">
 
        <FrameLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_marginRight="6dp"
            android:layout_weight="1">
 
            <TextView
                android:id="@+id/tv_no_update"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|right"
                android:layout_marginBottom="20dp"
                android:layout_marginLeft="12dp"
                android:background="@drawable/shape_update_left"
                android:gravity="center"
                android:padding="5dp"
                android:text="取消"
                android:textColor="#FFc9b5ac"
                android:textSize="18sp" />
        </FrameLayout>
 
        <FrameLayout
            android:layout_width="0dp"
            android:layout_height="match_parent"
            android:layout_marginLeft="6dp"
            android:layout_weight="1">
 
            <TextView
                android:id="@+id/tv_atonce_update"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_gravity="bottom|left"
                android:layout_marginBottom="20dp"
                android:layout_marginRight="12dp"
                android:background="@drawable/shape_update_right"
                android:gravity="center"
                android:padding="5dp"
                android:text="立即更新"
                android:textColor="#FFc9b5ac"
                android:textSize="18sp" />
        </FrameLayout>
    </LinearLayout>
 
</LinearLayout>