liuzhiwei
2020-12-26 56d95fa59a9f6dc12d0fc0723ea449e5b317f994
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
<?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:gravity="center"
    android:orientation="vertical" >
 
    <LinearLayout
        android:layout_width="@dimen/bjskres_dialog_update_width"
        android:layout_height="wrap_content"
        android:background="@drawable/bjskres_sdk_dialog_base"
        android:gravity="center"
        android:orientation="vertical" >
 
        <TextView
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_centerHorizontal="true"
            android:layout_centerVertical="true"
            android:layout_marginTop="10dip"
            android:layout_marginStart="10dip"
            android:layout_marginEnd="10dip"
            android:layout_marginBottom="5dip"
            android:gravity="center|left"
            android:text="@string/bjskres_update_title"
            android:textColor="@color/bjskres_gray_dark"
            android:textSize="18sp" />
 
        <View
            android:layout_width="match_parent"
            android:layout_height="1px"
            android:layout_marginStart="8dip"
            android:layout_marginEnd="8dip"
            android:background="@color/bjskres_gray_light" />
 
        <ScrollView
            android:layout_width="match_parent"
            android:layout_height="wrap_content" >
 
            <TextView
                android:id="@+id/update_notice"
                android:layout_width="match_parent"
                android:layout_height="wrap_content"
                android:layout_margin="5dip"
                android:gravity="center"
                android:paddingBottom="20dip"
                android:paddingTop="20dip"
                android:text="@string/bjskres_update_tips"
                android:textColor="@color/bjskres_gray"
                android:textSize="13sp"
                android:textStyle="normal" />
        </ScrollView>
 
        <RelativeLayout android:id="@+id/update_loadingview"
            android:layout_width="match_parent"
            android:layout_height="wrap_content"
            android:layout_margin="5dip"
            android:visibility="invisible"
             >
 
            <TextView
                android:id="@+id/update_size"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentLeft="true"
                android:layout_alignParentTop="true"
                android:layout_marginStart="5dip"
                android:text="0MB/0MB"
                android:textSize="12sp" />
 
            <TextView
                android:id="@+id/update_speed"
                android:layout_width="wrap_content"
                android:layout_height="wrap_content"
                android:layout_alignParentRight="true"
                android:layout_marginEnd="5dip"
                android:text="0KB/s"
                android:textSize="12sp" />
 
            <com.bjsk.sdk.m.views.common.LoadingLineWithText
                android:id="@+id/update_progress"
                android:layout_width="match_parent"
                android:layout_height="15dp"
                android:layout_below="@id/update_size" />
        </RelativeLayout>
 
        <LinearLayout
            android:id="@+id/buttonLayout"
            style="@style/bjskres_button_layout_style"
            android:gravity="center"
            android:orientation="horizontal"
            android:padding="@dimen/bjskres_content_padding" >
 
            <Button
                android:id="@+id/update_hide"
                style="@style/bjskres_button_style"
                android:layout_height="30dip"
                android:layout_marginStart="25dip"
                android:layout_marginEnd="25dip"
                android:layout_weight="1"
                android:background="@drawable/bjskres_btn_gray"
                android:text="@string/bjskres_update_hide"
                android:textSize="15sp"
                 />
 
            <Button
                android:id="@+id/update_start"
                style="@style/bjskres_button_style"
                android:layout_height="30dip"
                android:layout_marginStart="25dip"
                android:layout_marginEnd="25dip"
                android:layout_weight="1"
                android:background="@drawable/bjskres_btn_green"
                android:text="@string/bjskres_update_start"
                android:textSize="15sp"
                 />
        </LinearLayout>
    </LinearLayout>
 
</LinearLayout>