|
18 | 18 | android:layout_height="match_parent">
|
19 | 19 |
|
20 | 20 | <androidx.constraintlayout.widget.Guideline
|
21 |
| - android:id="@+id/guideline_top" |
| 21 | + android:id="@+id/guideline_start" |
22 | 22 | android:layout_width="wrap_content"
|
23 | 23 | android:layout_height="wrap_content"
|
24 |
| - android:orientation="horizontal" |
25 |
| - app:layout_constraintGuide_begin="55dp" /> |
| 24 | + android:orientation="vertical" |
| 25 | + app:layout_constraintGuide_begin="15dp" /> |
26 | 26 |
|
27 | 27 | <androidx.constraintlayout.widget.Guideline
|
28 |
| - android:id="@+id/guideline_begin" |
| 28 | + android:id="@+id/guideline_end" |
29 | 29 | android:layout_width="wrap_content"
|
30 | 30 | android:layout_height="wrap_content"
|
31 | 31 | android:orientation="vertical"
|
32 |
| - app:layout_constraintGuide_begin="16dp" /> |
| 32 | + app:layout_constraintGuide_end="15dp" /> |
33 | 33 |
|
34 | 34 | <androidx.constraintlayout.widget.Guideline
|
35 |
| - android:id="@+id/guideline_end" |
| 35 | + android:id="@+id/guideline_top" |
36 | 36 | android:layout_width="wrap_content"
|
37 | 37 | android:layout_height="wrap_content"
|
38 |
| - android:orientation="vertical" |
39 |
| - app:layout_constraintGuide_end="16dp" /> |
| 38 | + android:orientation="horizontal" |
| 39 | + app:layout_constraintGuide_begin="55dp" /> |
40 | 40 |
|
41 | 41 | <androidx.constraintlayout.widget.Guideline
|
42 | 42 | android:id="@+id/guideline_bottom"
|
43 | 43 | android:layout_width="wrap_content"
|
44 | 44 | android:layout_height="wrap_content"
|
45 | 45 | android:orientation="horizontal"
|
46 |
| - app:layout_constraintGuide_end="16dp" /> |
| 46 | + app:layout_constraintGuide_end="55dp" /> |
47 | 47 |
|
48 | 48 | <androidx.constraintlayout.widget.Guideline
|
49 | 49 | android:id="@+id/guideline_panel"
|
50 | 50 | android:layout_width="wrap_content"
|
51 | 51 | android:layout_height="wrap_content"
|
52 | 52 | android:orientation="horizontal"
|
53 |
| - app:layout_constraintGuide_percent="0.8" /> |
| 53 | + app:layout_constraintGuide_percent="0.25" /> |
54 | 54 |
|
55 | 55 | <FrameLayout
|
56 | 56 | android:id="@+id/frame_layout_container"
|
|
63 | 63 |
|
64 | 64 | <androidx.constraintlayout.widget.ConstraintLayout
|
65 | 65 | android:id="@+id/layout_panel"
|
66 |
| - android:layout_width="0dp" |
| 66 | + android:layout_width="270dp" |
67 | 67 | android:layout_height="0dp"
|
68 |
| - android:background="@drawable/layout_location_panel" |
69 |
| - android:paddingHorizontal="8dp" |
70 |
| - android:paddingVertical="4dp" |
| 68 | + android:layout_marginEnd="15dp" |
| 69 | + android:layout_marginTop="30dp" |
| 70 | + android:elevation="15dp" |
| 71 | + android:background="@drawable/background_panel" |
| 72 | + android:paddingHorizontal="10dp" |
| 73 | + android:paddingVertical="5dp" |
71 | 74 | android:visibility="@{placeSearchViewModel.panelVisibility}"
|
72 |
| - app:layout_constraintBottom_toBottomOf="@id/guideline_bottom" |
73 |
| - app:layout_constraintEnd_toEndOf="@id/guideline_end" |
74 |
| - app:layout_constraintStart_toStartOf="@id/guideline_begin" |
75 |
| - app:layout_constraintTop_toTopOf="@id/guideline_panel"> |
| 75 | + app:layout_constraintEnd_toStartOf="@id/layout_compass" |
| 76 | + app:layout_constraintTop_toTopOf="@id/layout_compass" |
| 77 | + app:layout_constraintBottom_toBottomOf="@id/guideline_bottom"> |
76 | 78 |
|
77 | 79 | <TextView
|
78 | 80 | android:id="@+id/text_view_title"
|
|
170 | 172 | <androidx.constraintlayout.widget.ConstraintLayout
|
171 | 173 | android:id="@+id/layout_search"
|
172 | 174 | android:layout_width="0dp"
|
173 |
| - android:layout_height="50dp" |
| 175 | + android:layout_height="52dp" |
174 | 176 | android:layout_marginStart="20dp"
|
175 | 177 | android:layout_marginEnd="20dp"
|
176 | 178 | android:elevation="15dp"
|
177 | 179 | android:background="@drawable/background_search"
|
178 |
| - app:layout_constraintStart_toStartOf="@+id/guideline_begin" |
| 180 | + app:layout_constraintStart_toStartOf="@+id/guideline_start" |
179 | 181 | app:layout_constraintEnd_toStartOf="@+id/guideline_end"
|
180 | 182 | app:layout_constraintTop_toTopOf="@id/guideline_top">
|
181 | 183 |
|
|
202 | 204 | </androidx.constraintlayout.widget.ConstraintLayout>
|
203 | 205 |
|
204 | 206 | <androidx.constraintlayout.widget.ConstraintLayout
|
205 |
| - android:id="@+id/layout_button" |
206 |
| - android:layout_width="match_parent" |
207 |
| - android:layout_height="match_parent"> |
208 |
| - |
209 |
| - <ImageView |
210 |
| - android:id="@+id/image_view_compass_background" |
211 |
| - android:layout_width="60dp" |
212 |
| - android:layout_height="60dp" |
213 |
| - android:layout_marginEnd="15dp" |
214 |
| - android:layout_marginBottom="10dp" |
215 |
| - android:elevation="15dp" |
216 |
| - android:background="@drawable/background_button" |
217 |
| - app:layout_constraintEnd_toEndOf="parent" |
218 |
| - app:layout_constraintBottom_toTopOf="@id/image_view_current_background" /> |
| 207 | + android:id="@+id/layout_compass" |
| 208 | + android:layout_width="60dp" |
| 209 | + android:layout_height="60dp" |
| 210 | + android:layout_marginBottom="10dp" |
| 211 | + android:elevation="15dp" |
| 212 | + android:background="@drawable/background_button" |
| 213 | + app:layout_constraintEnd_toEndOf="@id/guideline_end" |
| 214 | + app:layout_constraintBottom_toTopOf="@id/layout_current"> |
219 | 215 |
|
220 | 216 | <ImageView
|
221 | 217 | android:id="@+id/image_view_compass"
|
222 | 218 | android:layout_width="30dp"
|
223 | 219 | android:layout_height="30dp"
|
224 | 220 | android:elevation="15dp"
|
225 |
| - app:layout_constraintStart_toStartOf="@id/image_view_compass_background" |
226 |
| - app:layout_constraintEnd_toEndOf="@id/image_view_compass_background" |
227 |
| - app:layout_constraintTop_toTopOf="@id/image_view_compass_background" |
228 |
| - app:layout_constraintBottom_toBottomOf="@id/image_view_compass_background" |
| 221 | + app:layout_constraintStart_toStartOf="@id/layout_compass" |
| 222 | + app:layout_constraintEnd_toEndOf="@id/layout_compass" |
| 223 | + app:layout_constraintTop_toTopOf="@id/layout_compass" |
| 224 | + app:layout_constraintBottom_toBottomOf="@id/layout_compass" |
229 | 225 | app:srcCompat="@drawable/ic_compass" />
|
| 226 | + </androidx.constraintlayout.widget.ConstraintLayout> |
230 | 227 |
|
231 |
| - <ImageView |
232 |
| - android:id="@+id/image_view_current_background" |
233 |
| - android:layout_width="60dp" |
234 |
| - android:layout_height="60dp" |
235 |
| - android:layout_marginEnd="15dp" |
236 |
| - android:layout_marginBottom="10dp" |
237 |
| - android:elevation="15dp" |
238 |
| - android:background="@drawable/background_button" |
239 |
| - app:layout_constraintEnd_toEndOf="parent" |
240 |
| - app:layout_constraintBottom_toTopOf="@id/image_view_bookmark_background" /> |
| 228 | + <androidx.constraintlayout.widget.ConstraintLayout |
| 229 | + android:id="@+id/layout_current" |
| 230 | + android:layout_width="60dp" |
| 231 | + android:layout_height="60dp" |
| 232 | + android:layout_marginBottom="10dp" |
| 233 | + android:elevation="15dp" |
| 234 | + android:background="@drawable/background_button" |
| 235 | + app:layout_constraintEnd_toEndOf="@id/guideline_end" |
| 236 | + app:layout_constraintBottom_toTopOf="@id/layout_bookmark"> |
241 | 237 |
|
242 | 238 | <ImageView
|
243 | 239 | android:id="@+id/image_view_current"
|
244 | 240 | android:layout_width="30dp"
|
245 | 241 | android:layout_height="30dp"
|
246 | 242 | android:elevation="15dp"
|
247 |
| - app:layout_constraintStart_toStartOf="@id/image_view_current_background" |
248 |
| - app:layout_constraintEnd_toEndOf="@id/image_view_current_background" |
249 |
| - app:layout_constraintTop_toTopOf="@id/image_view_current_background" |
250 |
| - app:layout_constraintBottom_toBottomOf="@id/image_view_current_background" |
| 243 | + app:layout_constraintStart_toStartOf="@id/layout_current" |
| 244 | + app:layout_constraintEnd_toEndOf="@id/layout_current" |
| 245 | + app:layout_constraintTop_toTopOf="@id/layout_current" |
| 246 | + app:layout_constraintBottom_toBottomOf="@id/layout_current" |
251 | 247 | app:srcCompat="@drawable/ic_location" />
|
| 248 | + </androidx.constraintlayout.widget.ConstraintLayout> |
252 | 249 |
|
253 |
| - <ImageView |
254 |
| - android:id="@+id/image_view_bookmark_background" |
255 |
| - android:layout_width="60dp" |
256 |
| - android:layout_height="60dp" |
257 |
| - android:layout_marginEnd="15dp" |
258 |
| - android:layout_marginBottom="160dp" |
259 |
| - android:elevation="15dp" |
260 |
| - android:background="@drawable/background_button" |
261 |
| - app:layout_constraintEnd_toEndOf="parent" |
262 |
| - app:layout_constraintBottom_toBottomOf="parent" /> |
| 250 | + <androidx.constraintlayout.widget.ConstraintLayout |
| 251 | + android:id="@+id/layout_bookmark" |
| 252 | + android:layout_width="60dp" |
| 253 | + android:layout_height="60dp" |
| 254 | + android:elevation="15dp" |
| 255 | + android:background="@drawable/background_button" |
| 256 | + app:layout_constraintEnd_toEndOf="@id/guideline_end" |
| 257 | + app:layout_constraintBottom_toBottomOf="@id/guideline_bottom"> |
263 | 258 |
|
264 | 259 | <ImageView
|
265 | 260 | android:id="@+id/image_view_bookmark"
|
266 | 261 | android:layout_width="30dp"
|
267 | 262 | android:layout_height="30dp"
|
268 | 263 | android:elevation="15dp"
|
269 |
| - app:layout_constraintStart_toStartOf="@id/image_view_bookmark_background" |
270 |
| - app:layout_constraintEnd_toEndOf="@id/image_view_bookmark_background" |
271 |
| - app:layout_constraintTop_toTopOf="@id/image_view_bookmark_background" |
272 |
| - app:layout_constraintBottom_toBottomOf="@id/image_view_bookmark_background" |
| 264 | + app:layout_constraintStart_toStartOf="@id/layout_bookmark" |
| 265 | + app:layout_constraintEnd_toEndOf="@id/layout_bookmark" |
| 266 | + app:layout_constraintTop_toTopOf="@id/layout_bookmark" |
| 267 | + app:layout_constraintBottom_toBottomOf="@id/layout_bookmark" |
273 | 268 | app:srcCompat="@drawable/ic_bookmark" />
|
274 | 269 | </androidx.constraintlayout.widget.ConstraintLayout>
|
275 |
| - |
276 |
| - <androidx.coordinatorlayout.widget.CoordinatorLayout |
277 |
| - android:layout_width="match_parent" |
278 |
| - android:layout_height="match_parent"> |
279 |
| - |
280 |
| - <include |
281 |
| - android:id="@+id/home_bottom_sheet" |
282 |
| - layout="@layout/home_bottom_sheet" /> |
283 |
| - </androidx.coordinatorlayout.widget.CoordinatorLayout> |
284 | 270 | </androidx.constraintlayout.widget.ConstraintLayout>
|
285 | 271 | </layout>
|
286 | 272 |
|
0 commit comments