张海江
2016-12-30 455b3bee444ee94b016be9d4f8ad9111f7e3c6fa
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
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:background="@color/wallet_base_window_bg"
    android:orientation="vertical"
    android:id="@+id/layout" 
    android:visibility="gone">
 
    <com.baidu.wallet.base.widget.BdActionBar
        android:id="@+id/bdactionbar"
        android:layout_width="match_parent"
        android:layout_height="wrap_content" />
 
    <RelativeLayout
        android:id="@+id/plugin_detail_layout"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_below="@id/bdactionbar"
        android:layout_margin="13.3dp"
        android:background="@drawable/wallet_base_corners_bg"
        android:paddingBottom="13.3dp" >
 
    <com.baidu.wallet.base.widget.NetImageView
        android:id="@+id/plugin_image"
        android:layout_width="54dp"
        android:layout_height="54dp"
        android:layout_margin="13.3dp"
        android:scaleType="fitXY" />
 
        <TextView
            android:id="@+id/plugin_name"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignTop="@id/plugin_image"
            android:layout_toRightOf="@id/plugin_image"
            android:text="@string/wallet_plugin_update_tips"
            android:textColor="@color/bd_wallet_dialog_contenttext"
            android:textSize="20sp"
            android:textStyle="bold" />
 
        <TextView
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_alignBottom="@id/plugin_image"
            android:layout_toRightOf="@id/plugin_image"
            android:text="@string/wallet_plugin_updateing_tips"
            android:textColor="@color/bd_wallet_dialog_contenttext"
            android:textSize="@dimen/ebpay_text_size_15" />
    </RelativeLayout>
 
    <TextView
        android:id="@+id/plugin_download_tips"
        android:layout_below="@id/plugin_detail_layout"
        android:layout_width="wrap_content"
        android:layout_height="wrap_content"
        android:text="@string/wallet_plugin_downloading"
        android:layout_marginLeft="27.2dp"
        android:textColor="@color/bd_wallet_dialog_contenttext"
        android:textSize="@dimen/ebpay_text_size_18" />
 
    <RelativeLayout
        android:id="@+id/progress_layout"
        android:layout_below="@id/plugin_download_tips"
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:layout_gravity="center_vertical"
        android:layout_margin="13.3dp"
        android:background="@drawable/wallet_base_corners_bg"
        >
 
        <ProgressBar
            android:id="@+id/progress"
            style="@style/bd_wallet_plugin_update_progressbar"
            android:layout_width="fill_parent"
            android:layout_height="14dp"
            android:layout_marginTop="20dp"
            android:layout_marginBottom="20dp" 
            android:layout_marginLeft="13.3dp"
            android:layout_marginRight="13.3dp"/>
        
        <TextView android:id="@+id/download_info"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/progress"
            android:layout_alignLeft="@id/progress"
            android:paddingBottom="20dp"
            />
        
         <TextView 
            android:id="@+id/download_speed"
            android:layout_width="wrap_content"
            android:layout_height="wrap_content"
            android:layout_below="@id/progress"
            android:layout_alignRight="@id/progress"
            android:textColor="@color/wallet_base_text_blue"
            android:paddingBottom="20dp"
            />
    </RelativeLayout>
 
</RelativeLayout>