activity_setac.xml
6.13 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
<?xml version="1.0" encoding="utf-8"?>
<androidx.constraintlayout.widget.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="#F4F6F8">
<View
android:id="@+id/view_1"
android:layout_width="match_parent"
android:layout_height="44dp"
android:background="@android:color/white"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="账号设置"
android:textColor="#333333"
android:textSize="18dp"
app:layout_constraintBottom_toBottomOf="@id/view_1"
app:layout_constraintLeft_toLeftOf="@id/view_1"
app:layout_constraintRight_toRightOf="@id/view_1"
app:layout_constraintTop_toTopOf="@id/view_1" />
<ImageView
android:id="@+id/iv_back"
android:layout_width="10dp"
android:layout_height="16dp"
android:layout_marginLeft="15dp"
android:background="@mipmap/icon_back"
app:layout_constraintBottom_toBottomOf="@id/view_1"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintTop_toTopOf="@id/view_1" />
<View
android:layout_width="match_parent"
android:layout_height="1dp"
android:background="#EEEEEE"
app:layout_constraintTop_toBottomOf="@id/view_1" />
<View
android:id="@+id/view_3"
android:layout_width="match_parent"
android:layout_height="80dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="90dp"
android:layout_marginRight="15dp"
android:background="@drawable/bg_solid_white_10"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<ImageView
android:id="@+id/iv_3"
android:layout_width="57dp"
android:layout_height="57dp"
android:layout_marginRight="31dp"
android:background="@mipmap/ic_parent_avatar"
app:layout_constraintBottom_toBottomOf="@id/view_3"
app:layout_constraintRight_toRightOf="@id/view_3"
app:layout_constraintTop_toTopOf="@id/view_3" />
<TextView
android:id="@+id/tv_3"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:text="头像"
android:textColor="#333333"
android:textSize="15dp"
app:layout_constraintBottom_toBottomOf="@id/view_3"
app:layout_constraintLeft_toLeftOf="@id/view_3"
app:layout_constraintTop_toTopOf="@id/view_3" />
<ImageView
android:layout_width="5.5dp"
android:layout_height="9.5dp"
android:layout_marginRight="15dp"
android:background="@mipmap/ycaj"
app:layout_constraintBottom_toBottomOf="@id/view_3"
app:layout_constraintRight_toRightOf="@id/view_3"
app:layout_constraintTop_toTopOf="@id/view_3" />
<View
android:id="@+id/view_4"
android:layout_width="match_parent"
android:layout_height="90dp"
android:layout_marginLeft="15dp"
android:layout_marginTop="185dp"
android:layout_marginRight="15dp"
android:background="@drawable/bg_solid_white_10"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent"
app:layout_constraintTop_toTopOf="parent" />
<TextView
android:id="@+id/tv_4"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="15dp"
android:text="账户"
android:textColor="#333333"
android:textSize="15dp"
app:layout_constraintLeft_toLeftOf="@id/view_4"
app:layout_constraintTop_toTopOf="@id/view_4" />
<TextView
android:id="@+id/tv_5"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginLeft="15dp"
android:layout_marginTop="60dp"
android:text="密码"
android:textColor="#333333"
android:textSize="15dp"
app:layout_constraintLeft_toLeftOf="@id/view_4"
app:layout_constraintTop_toTopOf="@id/view_4" />
<TextView
android:id="@+id/tv_6"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="15dp"
android:layout_marginRight="15dp"
android:text="123"
android:textColor="#666666"
android:textSize="15dp"
app:layout_constraintRight_toRightOf="@id/view_4"
app:layout_constraintTop_toTopOf="@id/view_4" />
<ImageView
android:layout_width="5.5dp"
android:layout_height="9.5dp"
android:layout_marginRight="15dp"
android:background="@mipmap/ycaj"
app:layout_constraintBottom_toBottomOf="@id/tv_7"
app:layout_constraintRight_toRightOf="@id/view_4"
app:layout_constraintTop_toTopOf="@id/tv_7" />
<TextView
android:id="@+id/tv_7"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_marginTop="60dp"
android:layout_marginRight="31dp"
android:text="已设置"
android:textColor="#666666"
android:textSize="15dp"
app:layout_constraintRight_toRightOf="@id/view_4"
app:layout_constraintTop_toTopOf="@id/view_4" />
<Button
android:id="@+id/logout"
android:layout_width="315dp"
android:layout_height="50dp"
android:layout_marginBottom="120dp"
android:background="@drawable/bg_solid_btn"
android:text="退出登录"
android:textColor="@color/white"
android:textSize="18dp"
app:layout_constraintBottom_toBottomOf="parent"
app:layout_constraintLeft_toLeftOf="parent"
app:layout_constraintRight_toRightOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>