|
17
|
|
android:layout_height="match_parent"
|
|
18
|
|
android:layout_marginLeft="16dp"
|
|
19
|
|
android:layout_marginTop="7dp"
|
|
20
|
|
android:layout_marginBottom="7dp"
|
|
21
|
|
android:layout_weight="5"
|
|
22
|
|
android:background="@drawable/bg">
|
|
23
|
|
|
|
24
|
|
|
|
25
|
|
<EditText
|
|
26
|
|
android:id="@+id/et_search"
|
|
27
|
|
android:layout_width="fill_parent"
|
|
28
|
|
android:layout_height="match_parent"
|
|
29
|
|
android:layout_alignParentTop="true"
|
|
30
|
|
android:layout_marginTop="1dp"
|
|
31
|
|
android:layout_marginRight="13dp"
|
|
32
|
|
android:layout_marginBottom="1dp"
|
|
33
|
|
android:layout_toRightOf="@+id/iv_sou"
|
|
34
|
|
android:background="#f1f1f1"
|
|
35
|
|
android:focusable="true"
|
|
36
|
|
android:hint="请输入要查找的地名"
|
|
37
|
|
android:imeOptions="actionSearch"
|
|
38
|
|
android:singleLine="true"
|
|
39
|
|
android:text=""
|
|
40
|
|
android:textColorHint="@color/ui_68"
|
|
41
|
|
android:textCursorDrawable="@drawable/search_biao"
|
|
42
|
|
android:textSize="14sp" />
|
|
43
|
|
|
|
44
|
|
<ImageView
|
|
45
|
|
android:id="@+id/iv_search_clear"
|
|
46
|
|
android:layout_width="wrap_content"
|
|
47
|
|
android:layout_height="wrap_content"
|
|
48
|
|
android:layout_alignEnd="@+id/et_search"
|
|
49
|
|
android:layout_alignRight="@+id/et_search"
|
|
50
|
|
android:layout_centerVertical="true"
|
|
51
|
|
android:contentDescription="@null"
|
|
52
|
|
android:padding="5dp"
|
|
53
|
|
android:src="@drawable/icon_edit_delete2_0" />
|
|
|
19
|
android:layout_height="match_parent"
|
|
|
20
|
android:background="@color/activity_bgcolor"
|
|
|
21
|
android:orientation="vertical">
|
|
54
|
22
|
|
|
55
|
|
<ImageView
|
|
56
|
|
android:id="@+id/iv_sou"
|
|
57
|
|
android:layout_width="wrap_content"
|
|
58
|
|
android:layout_height="wrap_content"
|
|
59
|
|
android:layout_centerVertical="true"
|
|
60
|
|
android:layout_marginLeft="42px"
|
|
61
|
|
android:layout_marginRight="15px"
|
|
62
|
|
android:src="@drawable/icon_search1118" />
|
|
63
|
|
</RelativeLayout>
|
|
64
|
|
|
|
65
|
|
<TextView
|
|
66
|
|
android:id="@+id/tv_search"
|
|
67
|
|
android:layout_width="wrap_content"
|
|
68
|
|
android:layout_height="match_parent"
|
|
69
|
|
android:layout_alignParentRight="true"
|
|
70
|
|
android:layout_centerVertical="true"
|
|
71
|
|
android:contentDescription="@null"
|
|
72
|
|
android:gravity="center"
|
|
73
|
|
android:paddingLeft="16dp"
|
|
74
|
|
android:paddingTop="5dp"
|
|
75
|
|
android:paddingRight="16dp"
|
|
76
|
|
android:paddingBottom="5dp"
|
|
77
|
|
android:text="取消"
|
|
78
|
|
android:textColor="@color/lvse"
|
|
79
|
|
android:textSize="15sp" />
|
|
80
|
|
|
|
81
|
|
<LinearLayout
|
|
82
|
|
android:id="@+id/ll_menu"
|
|
|
23
|
<com.zhy.autolayout.AutoLinearLayout
|
|
83
|
24
|
android:layout_width="match_parent"
|
|
84
|
|
android:layout_height="50dp"
|
|
85
|
|
android:background="@color/white"
|
|
|
25
|
android:layout_height="130px"
|
|
|
26
|
android:background="@color/titlebar_color"
|
|
|
27
|
android:orientation="horizontal">
|
|
|
28
|
|
|
|
29
|
<RelativeLayout
|
|
|
30
|
android:layout_width="0dp"
|
|
|
31
|
android:layout_height="match_parent"
|
|
|
32
|
android:layout_marginLeft="16dp"
|
|
|
33
|
android:layout_marginTop="7dp"
|
|
|
34
|
android:layout_marginBottom="7dp"
|
|
|
35
|
android:layout_weight="5"
|
|
|
36
|
android:background="@drawable/bg">
|
|
86
|
37
|
|
|
87
|
|
android:orientation="vertical"
|
|
88
|
|
android:visibility="gone">
|
|
89
|
38
|
|
|
90
|
|
<LinearLayout
|
|
91
|
|
android:id="@+id/ll_address"
|
|
92
|
|
android:layout_width="match_parent"
|
|
93
|
|
android:layout_height="0dp"
|
|
94
|
|
android:layout_weight="1">
|
|
|
39
|
<EditText
|
|
|
40
|
android:id="@+id/et_search"
|
|
|
41
|
android:layout_width="fill_parent"
|
|
|
42
|
android:layout_height="match_parent"
|
|
|
43
|
android:layout_alignParentTop="true"
|
|
|
44
|
android:layout_marginTop="1dp"
|
|
|
45
|
android:layout_marginRight="13dp"
|
|
|
46
|
android:layout_marginBottom="1dp"
|
|
|
47
|
android:layout_toRightOf="@+id/iv_sou"
|
|
|
48
|
android:background="#f1f1f1"
|
|
|
49
|
android:focusable="true"
|
|
|
50
|
android:hint="请输入地址/关键字"
|
|
|
51
|
android:imeOptions="actionSearch"
|
|
|
52
|
android:singleLine="true"
|
|
|
53
|
android:text=""
|
|
|
54
|
android:textColorHint="@color/ui_68"
|
|
|
55
|
android:textCursorDrawable="@drawable/search_biao"
|
|
|
56
|
android:textSize="14sp" />
|
|
95
|
57
|
|
|
96
|
58
|
<ImageView
|
|
97
|
|
android:layout_width="0dp"
|
|
98
|
|
android:layout_height="match_parent"
|
|
99
|
|
android:layout_weight="1"
|
|
|
59
|
android:id="@+id/iv_search_clear"
|
|
|
60
|
android:layout_width="wrap_content"
|
|
|
61
|
android:layout_height="wrap_content"
|
|
|
62
|
android:layout_alignEnd="@+id/et_search"
|
|
|
63
|
android:layout_alignRight="@+id/et_search"
|
|
|
64
|
android:layout_centerVertical="true"
|
|
|
65
|
android:contentDescription="@null"
|
|
100
|
66
|
android:padding="5dp"
|
|
101
|
|
android:src="@drawable/icon_screening" />
|
|
|
67
|
android:src="@drawable/icon_edit_delete2_0" />
|
|
102
|
68
|
|
|
103
|
|
<TextView
|
|
104
|
|
android:id="@+id/address_search"
|
|
105
|
|
android:layout_width="0dp"
|
|
106
|
|
android:layout_height="match_parent"
|
|
107
|
|
android:layout_weight="6"
|
|
108
|
|
android:gravity="center_vertical"
|
|
109
|
|
android:paddingLeft="5dp"
|
|
110
|
|
android:text="找地名:"
|
|
111
|
|
android:textColor="@color/text_light_grey"
|
|
112
|
|
android:textSize="18sp" />
|
|
113
|
|
</LinearLayout>
|
|
114
|
|
|
|
115
|
|
<View
|
|
116
|
|
android:layout_width="match_parent"
|
|
117
|
|
android:layout_height="0.5dp"
|
|
118
|
|
android:background="@color/title_line"
|
|
119
|
|
android:visibility="gone" />
|
|
|
69
|
<ImageView
|
|
|
70
|
android:id="@+id/iv_sou"
|
|
|
71
|
android:layout_width="wrap_content"
|
|
|
72
|
android:layout_height="wrap_content"
|
|
|
73
|
android:layout_centerVertical="true"
|
|
|
74
|
android:layout_marginLeft="42px"
|
|
|
75
|
android:layout_marginRight="15px"
|
|
|
76
|
android:src="@drawable/icon_search1118" />
|
|
|
77
|
</RelativeLayout>
|
|
|
78
|
|
|
|
79
|
<TextView
|
|
|
80
|
android:id="@+id/tv_search"
|
|
|
81
|
android:layout_width="wrap_content"
|
|
|
82
|
android:layout_height="match_parent"
|
|
|
83
|
android:layout_alignParentRight="true"
|
|
|
84
|
android:layout_centerVertical="true"
|
|
|
85
|
android:contentDescription="@null"
|
|
|
86
|
android:gravity="center"
|
|
|
87
|
android:paddingLeft="16dp"
|
|
|
88
|
android:paddingTop="5dp"
|
|
|
89
|
android:paddingRight="16dp"
|
|
|
90
|
android:paddingBottom="5dp"
|
|
|
91
|
android:text="取消"
|
|
|
92
|
android:textColor="@color/lvse"
|
|
|
93
|
android:textSize="15sp" />
|
|
120
|
94
|
|
|
121
|
95
|
<LinearLayout
|
|
122
|
|
android:id="@+id/ll_zhan"
|
|
|
96
|
android:id="@+id/ll_menu"
|
|
123
|
97
|
android:layout_width="match_parent"
|
|
124
|
|
android:layout_height="0dp"
|
|
125
|
|
android:layout_weight="1">
|
|
126
|
|
|
|
127
|
|
<ImageView
|
|
128
|
|
android:layout_width="0dp"
|
|
129
|
|
android:layout_height="match_parent"
|
|
130
|
|
android:layout_weight="1"
|
|
131
|
|
android:padding="5dp"
|
|
132
|
|
android:src="@drawable/icon_screening" />
|
|
133
|
|
|
|
134
|
|
<TextView
|
|
135
|
|
android:id="@+id/zhan_search"
|
|
136
|
|
android:layout_width="0dp"
|
|
137
|
|
android:layout_height="match_parent"
|
|
138
|
|
android:layout_weight="6"
|
|
139
|
|
android:gravity="center_vertical"
|
|
140
|
|
android:paddingLeft="5dp"
|
|
141
|
|
android:text="找电桩:"
|
|
142
|
|
android:textColor="@color/text_light_grey"
|
|
143
|
|
android:textSize="18sp" />
|
|
|
98
|
android:layout_height="50dp"
|
|
|
99
|
android:background="@color/white"
|
|
|
100
|
|
|
|
101
|
android:orientation="vertical"
|
|
|
102
|
android:visibility="gone">
|
|
|
103
|
|
|
|
104
|
<LinearLayout
|
|
|
105
|
android:id="@+id/ll_address"
|
|
|
106
|
android:layout_width="match_parent"
|
|
|
107
|
android:layout_height="0dp"
|
|
|
108
|
android:layout_weight="1">
|
|
|
109
|
|
|
|
110
|
<ImageView
|
|
|
111
|
android:layout_width="0dp"
|
|
|
112
|
android:layout_height="match_parent"
|
|
|
113
|
android:layout_weight="1"
|
|
|
114
|
android:padding="5dp"
|
|
|
115
|
android:src="@drawable/icon_screening" />
|
|
|
116
|
|
|
|
117
|
<TextView
|
|
|
118
|
android:id="@+id/address_search"
|
|
|
119
|
android:layout_width="0dp"
|
|
|
120
|
android:layout_height="match_parent"
|
|
|
121
|
android:layout_weight="6"
|
|
|
122
|
android:gravity="center_vertical"
|
|
|
123
|
android:paddingLeft="5dp"
|
|
|
124
|
android:text="找地名:"
|
|
|
125
|
android:textColor="@color/text_light_grey"
|
|
|
126
|
android:textSize="18sp" />
|
|
|
127
|
</LinearLayout>
|
|
|
128
|
|
|
|
129
|
<View
|
|
|
130
|
android:layout_width="match_parent"
|
|
|
131
|
android:layout_height="0.5dp"
|
|
|
132
|
android:background="@color/title_line"
|
|
|
133
|
android:visibility="gone" />
|
|
|
134
|
|
|
|
135
|
<LinearLayout
|
|
|
136
|
android:id="@+id/ll_zhan"
|
|
|
137
|
android:layout_width="match_parent"
|
|
|
138
|
android:layout_height="0dp"
|
|
|
139
|
android:layout_weight="1">
|
|
|
140
|
|
|
|
141
|
<ImageView
|
|
|
142
|
android:layout_width="0dp"
|
|
|
143
|
android:layout_height="match_parent"
|
|
|
144
|
android:layout_weight="1"
|
|
|
145
|
android:padding="5dp"
|
|
|
146
|
android:src="@drawable/icon_screening" />
|
|
|
147
|
|
|
|
148
|
<TextView
|
|
|
149
|
android:id="@+id/zhan_search"
|
|
|
150
|
android:layout_width="0dp"
|
|
|
151
|
android:layout_height="match_parent"
|
|
|
152
|
android:layout_weight="6"
|
|
|
153
|
android:gravity="center_vertical"
|
|
|
154
|
android:paddingLeft="5dp"
|
|
|
155
|
android:text="找电桩:"
|
|
|
156
|
android:textColor="@color/text_light_grey"
|
|
|
157
|
android:textSize="18sp" />
|
|
|
158
|
</LinearLayout>
|
|
144
|
159
|
</LinearLayout>
|
|
145
|
|
</LinearLayout>
|
|
146
|
160
|
|
|
|
161
|
</com.zhy.autolayout.AutoLinearLayout>
|
|
|
162
|
|
|
|
163
|
<View
|
|
|
164
|
android:layout_width="match_parent"
|
|
|
165
|
android:layout_height="0.5dp"
|
|
|
166
|
android:background="@color/ui_titleline"
|
|
|
167
|
android:visibility="visible" />
|
|
|
168
|
|
|
|
169
|
<ListView
|
|
|
170
|
android:id="@+id/lv_search_list"
|
|
|
171
|
android:layout_width="fill_parent"
|
|
|
172
|
android:layout_height="0dp"
|
|
|
173
|
android:layout_weight="9.8"
|
|
|
174
|
android:background="@color/white"
|
|
|
175
|
android:cacheColorHint="@color/transparent"
|
|
|
176
|
android:fadingEdge="none"
|
|
|
177
|
android:listSelector="@color/transparent" />
|
|
|
178
|
|
|
|
179
|
<ListView
|
|
|
180
|
android:id="@+id/lv_history_list"
|
|
|
181
|
android:layout_width="fill_parent"
|
|
|
182
|
android:layout_height="0dp"
|
|
|
183
|
android:layout_weight="9.8"
|
|
|
184
|
android:background="@color/white"
|
|
|
185
|
android:cacheColorHint="@color/transparent"
|
|
|
186
|
android:divider="@drawable/list_item_divider"
|
|
|
187
|
android:dividerHeight="0.5dp"
|
|
|
188
|
android:fadingEdge="none"
|
|
|
189
|
android:listSelector="@color/transparent" />
|
|
147
|
190
|
</com.zhy.autolayout.AutoLinearLayout>
|
|
148
|
191
|
|
|
149
|
|
<View
|
|
150
|
|
android:layout_width="match_parent"
|
|
151
|
|
android:layout_height="0.5dp"
|
|
152
|
|
android:background="@color/ui_titleline"
|
|
153
|
|
android:visibility="visible" />
|
|
154
|
|
|
|
155
|
|
<ListView
|
|
156
|
|
android:id="@+id/lv_search_list"
|
|
157
|
|
android:layout_width="fill_parent"
|
|
158
|
|
android:layout_height="0dp"
|
|
159
|
|
android:layout_weight="9.8"
|
|
160
|
|
android:background="@color/white"
|
|
161
|
|
android:cacheColorHint="@color/transparent"
|
|
162
|
|
android:fadingEdge="none"
|
|
163
|
|
android:listSelector="@color/transparent" />
|
|
164
|
|
|
|
165
|
|
<ListView
|
|
166
|
|
android:id="@+id/lv_history_list"
|
|
167
|
|
android:layout_width="fill_parent"
|
|
168
|
|
android:layout_height="0dp"
|
|
169
|
|
android:layout_weight="9.8"
|
|
170
|
|
android:background="@color/white"
|
|
171
|
|
android:cacheColorHint="@color/transparent"
|
|
172
|
|
android:divider="@drawable/list_item_divider"
|
|
173
|
|
android:dividerHeight="0.5dp"
|
|
174
|
|
android:fadingEdge="none"
|
|
175
|
|
android:listSelector="@color/transparent" />
|
|
176
|
|
</com.zhy.autolayout.AutoLinearLayout>
|
|
|
192
|
|
|
|
193
|
</androidx.constraintlayout.widget.ConstraintLayout>
|
|
|
@ -14,6 +14,15 @@
|
|
14
|
14
|
app:layout_constraintRight_toRightOf="parent"
|
|
15
|
15
|
app:layout_constraintTop_toTopOf="parent">
|
|
16
|
16
|
|
|
|
17
|
<TextView
|
|
|
18
|
android:id="@+id/iv_title"
|
|
|
19
|
android:layout_width="match_parent"
|
|
|
20
|
android:layout_height="match_parent"
|
|
|
21
|
android:gravity="center"
|
|
|
22
|
android:textColor="#222222"
|
|
|
23
|
android:textSize="18sp"
|
|
|
24
|
tools:text="全部目的地" />
|
|
|
25
|
|
|
17
|
26
|
<ImageView
|
|
18
|
27
|
android:id="@+id/iv_back"
|
|
19
|
28
|
android:layout_width="wrap_content"
|
|
|
@ -26,15 +35,6 @@
|
|
26
|
35
|
app:layout_constraintLeft_toLeftOf="parent"
|
|
27
|
36
|
app:layout_constraintTop_toTopOf="parent" />
|
|
28
|
37
|
|
|
29
|
|
<TextView
|
|
30
|
|
android:id="@+id/iv_title"
|
|
31
|
|
android:layout_width="match_parent"
|
|
32
|
|
android:layout_height="match_parent"
|
|
33
|
|
android:gravity="center"
|
|
34
|
|
android:textColor="#222222"
|
|
35
|
|
android:textSize="18sp"
|
|
36
|
|
tools:text="全部目的地" />
|
|
37
|
|
|
|
38
|
38
|
<View
|
|
39
|
39
|
android:layout_width="match_parent"
|
|
40
|
40
|
android:layout_height="0.5dp"
|