|
@ -1,54 +1,54 @@
|
1
|
1
|
<?xml version="1.0" encoding="utf-8"?>
|
2
|
|
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
2
|
<android.support.constraint.ConstraintLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
3
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
4
|
xmlns:tools="http://schemas.android.com/tools"
|
3
|
5
|
android:layout_width="match_parent"
|
4
|
6
|
android:layout_height="match_parent">
|
5
|
7
|
|
6
|
|
<RelativeLayout
|
7
|
|
android:id="@+id/bottom_view"
|
|
8
|
<android.support.constraint.ConstraintLayout
|
|
9
|
android:id="@+id/nav_bar"
|
8
|
10
|
android:layout_width="match_parent"
|
9
|
|
android:layout_height="wrap_content"
|
10
|
|
android:layout_alignParentBottom="true"
|
11
|
|
android:background="@color/white"
|
12
|
|
android:minHeight="180dp">
|
13
|
|
|
14
|
|
<TextView
|
15
|
|
android:id="@+id/rule_publish"
|
16
|
|
android:layout_width="wrap_content"
|
17
|
|
android:layout_height="wrap_content"
|
18
|
|
android:layout_alignParentBottom="true"
|
19
|
|
android:layout_centerHorizontal="true"
|
20
|
|
android:paddingTop="20dp"
|
21
|
|
android:paddingRight="5dp"
|
22
|
|
android:paddingBottom="20dp"
|
23
|
|
android:text="同意《用户发布内容规则》"
|
24
|
|
android:textColor="@color/color_0088f6"
|
25
|
|
android:textSize="14sp" />
|
|
11
|
android:layout_height="45dp"
|
|
12
|
android:background="#ffffff"
|
|
13
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
14
|
app:layout_constraintRight_toRightOf="parent"
|
|
15
|
app:layout_constraintTop_toTopOf="parent">
|
26
|
16
|
|
27
|
17
|
<ImageView
|
28
|
|
android:id="@+id/publish_radio"
|
29
|
|
android:layout_width="wrap_content"
|
30
|
|
android:layout_height="wrap_content"
|
31
|
|
android:layout_alignTop="@+id/rule_publish"
|
32
|
|
android:layout_alignParentBottom="true"
|
33
|
|
android:layout_toLeftOf="@+id/rule_publish"
|
34
|
|
android:padding="5dp"
|
35
|
|
android:src="@drawable/radio_unselected" />
|
36
|
|
|
37
|
|
<ImageView
|
38
|
|
android:id="@+id/share_publish_close"
|
|
18
|
android:id="@+id/iv_back"
|
39
|
19
|
android:layout_width="wrap_content"
|
40
|
|
android:layout_height="wrap_content"
|
41
|
|
android:layout_above="@+id/rule_publish"
|
42
|
|
android:layout_centerHorizontal="true"
|
43
|
|
android:background="@drawable/app_publish_close_icon"
|
44
|
|
android:padding="10dp" />
|
|
20
|
android:layout_height="match_parent"
|
|
21
|
android:paddingLeft="15dp"
|
|
22
|
android:paddingRight="15dp"
|
|
23
|
android:src="@drawable/icon_lvback1119"
|
|
24
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
25
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
26
|
app:layout_constraintTop_toTopOf="parent" />
|
|
27
|
</android.support.constraint.ConstraintLayout>
|
|
28
|
|
|
29
|
<ImageView
|
|
30
|
android:id="@+id/share_scan_icon"
|
|
31
|
android:layout_width="match_parent"
|
|
32
|
android:layout_height="wrap_content"
|
|
33
|
android:background="@drawable/app_publish_items_bg"
|
|
34
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
35
|
app:layout_constraintRight_toRightOf="parent"
|
|
36
|
app:layout_constraintTop_toBottomOf="@+id/nav_bar" />
|
45
|
37
|
|
|
38
|
<LinearLayout
|
|
39
|
android:layout_width="match_parent"
|
|
40
|
android:layout_height="0dp"
|
|
41
|
android:gravity="center"
|
|
42
|
android:orientation="vertical"
|
|
43
|
app:layout_constraintBottom_toTopOf="@+id/agree_view"
|
|
44
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
45
|
app:layout_constraintRight_toRightOf="parent"
|
|
46
|
app:layout_constraintStart_toStartOf="parent"
|
|
47
|
app:layout_constraintTop_toBottomOf="@+id/share_scan_icon">
|
46
|
48
|
|
47
|
49
|
<LinearLayout
|
48
|
50
|
android:layout_width="match_parent"
|
49
|
51
|
android:layout_height="wrap_content"
|
50
|
|
android:layout_above="@+id/share_publish_close"
|
51
|
|
android:layout_marginBottom="0dp"
|
52
|
52
|
android:gravity="center"
|
53
|
53
|
android:orientation="horizontal">
|
54
|
54
|
|
|
@ -78,7 +78,6 @@
|
78
|
78
|
android:id="@+id/publish_picture"
|
79
|
79
|
android:layout_width="wrap_content"
|
80
|
80
|
android:layout_height="wrap_content"
|
81
|
|
android:layout_centerHorizontal="true"
|
82
|
81
|
android:gravity="center"
|
83
|
82
|
android:orientation="vertical"
|
84
|
83
|
android:padding="20dp">
|
|
@ -101,9 +100,9 @@
|
101
|
100
|
android:id="@+id/publish_qa"
|
102
|
101
|
android:layout_width="wrap_content"
|
103
|
102
|
android:layout_height="wrap_content"
|
104
|
|
android:padding="20dp"
|
105
|
103
|
android:gravity="center"
|
106
|
|
android:orientation="vertical">
|
|
104
|
android:orientation="vertical"
|
|
105
|
android:padding="20dp">
|
107
|
106
|
|
108
|
107
|
<ImageView
|
109
|
108
|
android:layout_width="wrap_content"
|
|
@ -120,32 +119,50 @@
|
120
|
119
|
</LinearLayout>
|
121
|
120
|
</LinearLayout>
|
122
|
121
|
|
|
122
|
<LinearLayout
|
|
123
|
android:layout_width="match_parent"
|
|
124
|
android:layout_height="wrap_content"
|
|
125
|
android:paddingTop="20dp"
|
|
126
|
android:gravity="center">
|
|
127
|
|
|
128
|
<ImageView
|
|
129
|
android:id="@+id/share_publish_close"
|
|
130
|
android:layout_width="wrap_content"
|
|
131
|
android:layout_height="wrap_content"
|
|
132
|
android:background="@drawable/app_publish_close_icon" />
|
|
133
|
</LinearLayout>
|
|
134
|
|
123
|
135
|
|
124
|
|
</RelativeLayout>
|
|
136
|
</LinearLayout>
|
125
|
137
|
|
126
|
|
<RelativeLayout
|
|
138
|
<LinearLayout
|
|
139
|
android:id="@+id/agree_view"
|
127
|
140
|
android:layout_width="match_parent"
|
128
|
|
android:layout_height="wrap_content">
|
|
141
|
android:layout_height="120dp"
|
|
142
|
android:gravity="center"
|
|
143
|
android:orientation="horizontal"
|
|
144
|
app:layout_constraintBottom_toBottomOf="parent"
|
|
145
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
146
|
app:layout_constraintRight_toRightOf="parent">
|
129
|
147
|
|
130
|
148
|
<ImageView
|
131
|
|
android:id="@+id/share_scan_icon"
|
132
|
|
android:layout_width="160dp"
|
133
|
|
android:layout_height="160dp"
|
134
|
|
android:layout_centerHorizontal="true"
|
135
|
|
android:layout_marginTop="90dp"
|
136
|
|
android:background="@drawable/app_publish_items_bg" />
|
|
149
|
android:id="@+id/publish_radio"
|
|
150
|
android:layout_width="wrap_content"
|
|
151
|
android:layout_height="wrap_content"
|
|
152
|
android:padding="5dp"
|
|
153
|
android:src="@drawable/radio_unselected" />
|
137
|
154
|
|
138
|
155
|
<TextView
|
139
|
|
android:id="@+id/share_scan_icon_info"
|
|
156
|
android:id="@+id/rule_publish"
|
140
|
157
|
android:layout_width="wrap_content"
|
141
|
158
|
android:layout_height="wrap_content"
|
142
|
|
android:layout_below="@+id/share_scan_icon"
|
143
|
|
android:layout_centerHorizontal="true"
|
144
|
|
android:layout_marginTop="21dp"
|
145
|
|
android:layout_marginBottom="60dp"
|
146
|
|
android:text="分享你的电动车与生活"
|
147
|
|
android:textColor="@color/color_222222"
|
148
|
|
android:textSize="15sp" />
|
149
|
|
</RelativeLayout>
|
150
|
|
|
151
|
|
</RelativeLayout>
|
|
159
|
android:paddingTop="20dp"
|
|
160
|
android:paddingRight="5dp"
|
|
161
|
android:paddingBottom="20dp"
|
|
162
|
android:text="同意《用户发布内容规则》"
|
|
163
|
android:textColor="@color/color_0088f6"
|
|
164
|
android:textSize="14sp" />
|
|
165
|
</LinearLayout>
|
|
166
|
|
|
167
|
|
|
168
|
</android.support.constraint.ConstraintLayout>
|