fragment_down.xml
3.8 KB
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
<?xml version="1.0" encoding="utf-8"?>
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
tools:context=".activity.fragments.DownFragment">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:gravity="center"
android:background="@drawable/mch_cricle_10dp_bg_white">
<RelativeLayout
android:layout_width="290dp"
android:layout_height="280dp"
android:layout_weight="1"
android:background="@drawable/mch_cricle_10dp_bg_white"
android:orientation="vertical">
<RelativeLayout
android:layout_width="80dp"
android:layout_height="80dp"
android:layout_marginLeft="105dp"
android:layout_marginRight="105dp"
android:layout_marginTop="30dp"
android:layout_marginBottom="15dp"
android:gravity="center">
<ImageView
android:id="@+id/image"
android:layout_width="80dp"
android:layout_height="80dp"
android:src="@drawable/logo"/>
</RelativeLayout>
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginTop="120dp"
android:gravity="center">
<TextView
android:id="@+id/tv_name"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text=""
android:gravity="center"
android:textSize="12sp"
android:textColor="#333333" />
</RelativeLayout>
<RelativeLayout
android:layout_width="180dp"
android:layout_height="35dp"
android:layout_marginLeft="20dp"
android:layout_marginRight="20dp"
android:layout_marginTop="152dp"
android:layout_centerHorizontal="true"
android:gravity="center">
<com.mchsdk.paysdk.common.ProgressButton
android:id="@+id/button_progress_green"
android:layout_width="180dp"
android:layout_height="35dp"
android:textColor="#ffffff"
android:text="下载"
android:textSize="14dp"
android:gravity="center"
app:cornerRadius="18dp"
app:progressMargin="0dp"
app:progressBackColor="#e0e0e0"
app:progressColor="#FA5A55"
app:buttonColor="#FA5A55" />
</RelativeLayout>
<!--最下面一行-->
<RelativeLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:layout_marginBottom="70dp"
android:layout_alignParentBottom="true"
android:gravity="center">
<TextView
android:id="@+id/mch_attestation_button"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="返回"
android:textSize="12dp"
android:textColor="#333333" />
</RelativeLayout>
</RelativeLayout>
</LinearLayout>
</FrameLayout>