layout_update_app.xml
2.44 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
<?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"
xmlns:tools="http://schemas.android.com/tools"
android:orientation="vertical"
android:gravity="center">
<RelativeLayout
android:layout_width="240dp"
android:layout_height="336dp"
android:background="@mipmap/update_bg">
<TextView
android:id="@+id/title"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="新版本内容"
android:layout_centerHorizontal="true"
android:layout_marginTop="170dp"
android:textSize="15sp"
android:layout_marginBottom="10dp"
android:textColor="@color/color_333"/>
<TextView
android:id="@+id/updateContent"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_below="@+id/title"
android:layout_centerHorizontal="true"
android:textSize="13sp"
android:lineSpacingExtra="5dp"
android:textColor="@color/color_333"
tools:text="1.ddddddddd\n2.fsgdfgdsgdgd\n3.sdgdfgdfgadg"/>
<TextView
android:id="@+id/updateVersion"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:background="@drawable/bg_update_version"
tools:text="V3.0"
android:textColor="@color/color_ff6633"
android:paddingRight="8dp"
android:paddingLeft="8dp"
android:layout_marginTop="71dp"
android:layout_marginLeft="147dp"
android:textSize="12sp"
android:gravity="center"/>
<TextView
android:id="@+id/update"
android:layout_width="167dp"
android:layout_height="29dp"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true"
android:layout_marginBottom="21dp"
android:background="@mipmap/update_update"/>
</RelativeLayout>
<ImageView
android:id="@+id/updateCancel"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:src="@mipmap/update_cancel"
android:layout_marginTop="24dp"/>
</LinearLayout>