11<?xml version =" 1.0" encoding =" utf-8" ?>
2- <layout >
2+ <layout xmlns : tools =" http://schemas.android.com/tools"
3+ xmlns : app =" http://schemas.android.com/apk/res-auto" >
34
4- <RelativeLayout
5+ <FrameLayout
56 xmlns : android =" http://schemas.android.com/apk/res/android"
67 android : layout_width =" match_parent"
78 android : background =" #103606"
89 android : layout_height =" match_parent" >
910
10- <ImageView
11+ <android .support.v7.widget.AppCompatImageView
1112 android : layout_width =" 70dp"
1213 android : layout_height =" 50dp"
13- android : layout_centerInParent = " true "
14+ android : layout_gravity = " center "
1415 android : src =" @drawable/img_home_logo" />
15- </RelativeLayout >
16+
17+ <android .support.constraint.ConstraintLayout
18+ android : id =" @+id/cl_agree_layout"
19+ android : layout_width =" match_parent"
20+ android : layout_height =" wrap_content"
21+ android : visibility =" gone"
22+ android : background =" @drawable/top_white_r10"
23+ android : layout_gravity =" bottom"
24+ android : paddingBottom =" 6dp" >
25+
26+ <android .support.v7.widget.AppCompatImageView
27+ android : id =" @+id/iv_icon"
28+ android : layout_width =" 50dp"
29+ android : layout_height =" 50dp"
30+ android : layout_marginLeft =" 15dp"
31+ android : layout_marginTop =" 15dp"
32+ android : src =" @drawable/img_home_logo"
33+ app : layout_constraintStart_toStartOf =" parent"
34+ app : layout_constraintTop_toTopOf =" parent" />
35+
36+ <android .support.v7.widget.AppCompatTextView
37+ android : id =" @+id/tv_title"
38+ android : layout_width =" wrap_content"
39+ android : layout_height =" wrap_content"
40+ android : textSize =" 20dp"
41+ android : layout_marginTop =" 12dp"
42+ android : gravity =" center"
43+ android : text =" Welcome To Python"
44+ android : textColor =" #333333"
45+ android : textStyle =" bold"
46+ app : layout_constraintStart_toStartOf =" @+id/iv_icon"
47+ app : layout_constraintTop_toBottomOf =" @+id/iv_icon" />
48+
49+ <android .support.v7.widget.AppCompatTextView
50+ android : id =" @+id/tv_content"
51+ android : layout_width =" 0dp"
52+ android : layout_height =" wrap_content"
53+ android : textSize =" 12dp"
54+ android : layout_marginTop =" 12dp"
55+ android : layout_marginRight =" 15dp"
56+ app : layout_constraintEnd_toEndOf =" parent"
57+ android : textColor =" #333333"
58+ app : layout_constraintStart_toStartOf =" @+id/iv_icon"
59+ app : layout_constraintTop_toBottomOf =" @+id/tv_title" />
60+
61+ <android .support.v7.widget.AppCompatTextView
62+ android : id =" @+id/tv_agree_content"
63+ android : layout_width =" 0dp"
64+ android : layout_height =" wrap_content"
65+ android : textSize =" 12dp"
66+ android : layout_marginTop =" 12dp"
67+ android : layout_marginRight =" 15dp"
68+ android : textColor =" #333333"
69+ app : layout_constraintEnd_toEndOf =" parent"
70+ app : layout_constraintStart_toStartOf =" @+id/iv_icon"
71+ app : layout_constraintTop_toBottomOf =" @+id/tv_content" />
72+
73+
74+ <android .support.v7.widget.AppCompatTextView
75+ android : id =" @+id/tv_positive"
76+ android : textSize =" 15dp"
77+ android : textStyle =" bold"
78+ android : layout_width =" 0dp"
79+ android : layout_height =" 35dp"
80+ android : layout_marginTop =" 30dp"
81+ android : layout_marginRight =" 15dp"
82+ android : layout_marginLeft =" 15dp"
83+ android : background =" @drawable/agree_confirm_btn"
84+ android : gravity =" center"
85+ android : text =" 同意并继续"
86+ android : textColor =" #ffffff"
87+ app : layout_constraintEnd_toEndOf =" parent"
88+ app : layout_constraintStart_toStartOf =" parent"
89+ app : layout_constraintTop_toBottomOf =" @+id/tv_agree_content" />
90+
91+ <android .support.v7.widget.AppCompatTextView
92+ android : id =" @+id/tv_negative"
93+ android : layout_width =" 0dp"
94+ android : textSize =" 12dp"
95+ android : layout_height =" 35dp"
96+ android : layout_marginLeft =" 15dp"
97+ android : layout_marginTop =" 6dp"
98+ android : layout_marginRight =" 15dp"
99+ android : gravity =" center"
100+ android : text =" 退出并关闭 Python"
101+ android : textColor =" #999999"
102+ app : layout_constraintEnd_toEndOf =" parent"
103+ app : layout_constraintStart_toStartOf =" parent"
104+ app : layout_constraintTop_toBottomOf =" @+id/tv_positive" />
105+
106+ </android .support.constraint.ConstraintLayout>
107+
108+ </FrameLayout >
16109</layout >
0 commit comments