1 |
<?xml version="1.0" encoding="utf-8"?>
|
2 |
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
3 |
android:id="@+id/gui_main_screen"
|
4 |
android:layout_width="match_parent"
|
5 |
android:layout_height="match_parent"
|
6 |
android:orientation="vertical" >
|
7 |
|
8 |
<android.support.v7.widget.Toolbar
|
9 |
android:id="@+id/toolbar"
|
10 |
android:layout_width="match_parent"
|
11 |
android:layout_height="wrap_content"
|
12 |
android:background="?attr/colorPrimaryDark"
|
13 |
android:elevation="4dp"
|
14 |
android:minHeight="?attr/actionBarSize" />
|
15 |
|
16 |
<RelativeLayout
|
17 |
android:id="@+id/gui_top_container"
|
18 |
android:layout_width="match_parent"
|
19 |
android:layout_height="@dimen/gui_top_container_height"
|
20 |
android:layout_below="@+id/toolbar"
|
21 |
android:background="@color/blueish_bg_color"
|
22 |
android:elevation="4dp"
|
23 |
android:orientation="horizontal" >
|
24 |
|
25 |
<RelativeLayout
|
26 |
android:id="@+id/gui_next_turn_container"
|
27 |
android:layout_width="@dimen/gui_next_turn_container_width"
|
28 |
android:layout_height="match_parent"
|
29 |
android:layout_alignParentLeft="true"
|
30 |
android:background="@android:color/transparent"
|
31 |
android:orientation="vertical" >
|
32 |
|
33 |
<com.zoffcc.applications.zanavi.ZANaviOSDNextturn
|
34 |
android:id="@+id/osd_nextturn_new"
|
35 |
android:layout_width="@dimen/osd_nextturn_new_width"
|
36 |
android:layout_height="@dimen/osd_nextturn_new_height"
|
37 |
android:layout_alignParentTop="true"
|
38 |
android:layout_centerInParent="true"
|
39 |
android:background="@android:color/transparent" >
|
40 |
</com.zoffcc.applications.zanavi.ZANaviOSDNextturn>
|
41 |
|
42 |
<com.zoffcc.applications.zanavi.ZANaviOSDDistToNextturn
|
43 |
android:id="@+id/osd_timetoturn_new"
|
44 |
android:layout_width="match_parent"
|
45 |
android:layout_height="fill_parent"
|
46 |
android:layout_below="@+id/osd_nextturn_new"
|
47 |
android:layout_centerInParent="true"
|
48 |
android:background="@android:color/transparent" >
|
49 |
</com.zoffcc.applications.zanavi.ZANaviOSDDistToNextturn>
|
50 |
</RelativeLayout>
|
51 |
|
52 |
<ImageView
|
53 |
android:id="@+id/gui_top_cutline"
|
54 |
android:layout_width="2dp"
|
55 |
android:layout_height="match_parent"
|
56 |
android:layout_marginBottom="7dp"
|
57 |
android:layout_marginLeft="6dp"
|
58 |
android:layout_marginRight="6dp"
|
59 |
android:layout_marginTop="7dp"
|
60 |
android:layout_toRightOf="@+id/gui_next_turn_container"
|
61 |
android:background="@android:color/transparent"
|
62 |
android:scaleType="fitXY"
|
63 |
android:src="@drawable/zanavi_cutline1" >
|
64 |
</ImageView>
|
65 |
|
66 |
<!-- android:background="#eebb0000" -->
|
67 |
|
68 |
<com.zoffcc.applications.zanavi.ZANaviOSDStreetname
|
69 |
android:id="@+id/top_bar"
|
70 |
android:layout_width="fill_parent"
|
71 |
android:layout_height="match_parent"
|
72 |
android:layout_toRightOf="@+id/gui_top_cutline"
|
73 |
android:background="@android:color/transparent" />
|
74 |
</RelativeLayout>
|
75 |
|
76 |
<!-- android:stateListAnimator="@anim/view_srec_elevation" -->
|
77 |
|
78 |
<View
|
79 |
android:id="@+id/view_srec"
|
80 |
android:layout_width="50dp"
|
81 |
android:layout_height="50dp"
|
82 |
android:layout_alignParentRight="true"
|
83 |
android:layout_below="@+id/toolbar"
|
84 |
android:layout_centerInParent="true"
|
85 |
android:layout_marginRight="8dp"
|
86 |
android:layout_marginTop="72dp"
|
87 |
android:background="@drawable/view_srec_selector"
|
88 |
android:clickable="true"
|
89 |
android:elevation="8dp" />
|
90 |
|
91 |
<com.zoffcc.applications.zanavi.ZANaviOSDLaneAssist
|
92 |
android:id="@+id/view_laneassist"
|
93 |
android:layout_width="180dp"
|
94 |
android:layout_height="55dp"
|
95 |
android:layout_below="@+id/gui_top_container"
|
96 |
android:layout_centerHorizontal="true"
|
97 |
android:layout_centerInParent="true"
|
98 |
android:layout_marginRight="8dp"
|
99 |
android:layout_marginTop="0dp"
|
100 |
android:clickable="false"
|
101 |
android:elevation="8dp" />
|
102 |
|
103 |
<com.zoffcc.applications.zanavi.ZANaviOSDSpeeding
|
104 |
android:id="@+id/view_speeding"
|
105 |
android:layout_width="70dp"
|
106 |
android:layout_height="70dp"
|
107 |
android:layout_above="@+id/bottom_bar"
|
108 |
android:layout_alignParentLeft="true"
|
109 |
android:layout_centerInParent="true"
|
110 |
android:layout_marginBottom="@dimen/margin_bottom_speeding"
|
111 |
android:layout_marginLeft="@dimen/margin_left_speeding"
|
112 |
android:elevation="8dp" />
|
113 |
|
114 |
<com.zoffcc.applications.zanavi.ZANaviOSDCompass
|
115 |
android:id="@+id/osd_compass_new"
|
116 |
android:layout_width="50dp"
|
117 |
android:layout_height="50dp"
|
118 |
android:layout_alignParentLeft="true"
|
119 |
android:layout_below="@+id/toolbar"
|
120 |
android:layout_centerInParent="true"
|
121 |
android:layout_marginLeft="8dp"
|
122 |
android:layout_marginTop="88dp"
|
123 |
android:adjustViewBounds="false"
|
124 |
android:background="@drawable/round_view_compass"
|
125 |
android:elevation="8dp"
|
126 |
android:padding="0px"
|
127 |
android:scaleType="fitXY"
|
128 |
android:src="@drawable/zanavi_compass" />
|
129 |
|
130 |
<RelativeLayout
|
131 |
android:id="@+id/whats_here_container_wrap"
|
132 |
android:layout_width="@dimen/whats_here_container_width"
|
133 |
android:layout_height="wrap_content"
|
134 |
android:layout_alignParentLeft="true"
|
135 |
android:layout_below="@+id/gui_top_container"
|
136 |
android:layout_marginLeft="10dp"
|
137 |
android:layout_marginTop="20dp"
|
138 |
android:background="#00000000"
|
139 |
android:elevation="9dp"
|
140 |
android:visibility="invisible" >
|
141 |
|
142 |
<RelativeLayout
|
143 |
android:id="@+id/whats_here_container_2"
|
144 |
android:layout_width="fill_parent"
|
145 |
android:layout_height="wrap_content"
|
146 |
android:background="#DDFAFAFA"
|
147 |
android:elevation="9dp"
|
148 |
android:paddingLeft="0sp"
|
149 |
android:paddingRight="0sp" >
|
150 |
|
151 |
<LinearLayout
|
152 |
android:id="@+id/whats_here_button_2"
|
153 |
android:layout_width="fill_parent"
|
154 |
android:layout_height="wrap_content"
|
155 |
android:layout_centerHorizontal="true"
|
156 |
android:layout_marginBottom="4dp"
|
157 |
android:layout_marginTop="4dp"
|
158 |
android:orientation="horizontal" >
|
159 |
|
160 |
<ImageButton
|
161 |
android:id="@+id/whats_here_button_add_to"
|
162 |
android:layout_width="55dp"
|
163 |
android:layout_height="55dp"
|
164 |
android:layout_marginLeft="4dp"
|
165 |
android:layout_marginRight="4dp"
|
166 |
android:background="@drawable/round_image_button_add_to"
|
167 |
android:contentDescription="" />
|
168 |
|
169 |
<ImageButton
|
170 |
android:id="@+id/whats_here_button_whats"
|
171 |
android:layout_width="55dp"
|
172 |
android:layout_height="55dp"
|
173 |
android:layout_marginLeft="4dp"
|
174 |
android:layout_marginRight="4dp"
|
175 |
android:background="@drawable/round_image_button_whats"
|
176 |
android:contentDescription="" />
|
177 |
|
178 |
<ImageButton
|
179 |
android:id="@+id/whats_here_button_drive"
|
180 |
android:layout_width="55dp"
|
181 |
android:layout_height="55dp"
|
182 |
android:layout_marginLeft="4dp"
|
183 |
android:layout_marginRight="4dp"
|
184 |
android:background="@drawable/round_image_button_drive"
|
185 |
android:contentDescription="" />
|
186 |
</LinearLayout>
|
187 |
|
188 |
<View
|
189 |
android:layout_width="100dp"
|
190 |
android:layout_height="0dp"
|
191 |
android:layout_below="@id/whats_here_button_2"
|
192 |
android:layout_marginBottom="0sp"
|
193 |
android:layout_marginTop="0sp"
|
194 |
android:paddingBottom="0sp"
|
195 |
android:paddingTop="0sp" />
|
196 |
</RelativeLayout>
|
197 |
|
198 |
<RelativeLayout
|
199 |
android:id="@+id/whats_here_container"
|
200 |
android:layout_width="fill_parent"
|
201 |
android:layout_height="wrap_content"
|
202 |
android:layout_below="@+id/whats_here_container_2"
|
203 |
android:background="#ff505050"
|
204 |
android:elevation="9dp"
|
205 |
android:paddingLeft="0sp"
|
206 |
android:paddingRight="0sp" >
|
207 |
|
208 |
<View
|
209 |
android:id="@+id/whats_here_seperator"
|
210 |
android:layout_width="fill_parent"
|
211 |
android:layout_height="4dp"
|
212 |
android:layout_marginBottom="0sp"
|
213 |
android:layout_marginTop="0sp"
|
214 |
android:background="#DD101010"
|
215 |
android:paddingBottom="0sp"
|
216 |
android:paddingTop="0sp" />
|
217 |
|
218 |
<TextView
|
219 |
android:id="@+id/whats_here_text"
|
220 |
android:layout_width="fill_parent"
|
221 |
android:layout_height="wrap_content"
|
222 |
android:layout_below="@id/whats_here_seperator"
|
223 |
android:layout_centerHorizontal="true"
|
224 |
android:layout_marginBottom="5sp"
|
225 |
android:layout_marginLeft="5sp"
|
226 |
android:layout_marginRight="5sp"
|
227 |
android:layout_marginTop="5sp"
|
228 |
android:layout_weight="1"
|
229 |
android:ellipsize="none"
|
230 |
android:gravity="center"
|
231 |
android:maxLines="100"
|
232 |
android:scrollHorizontally="false"
|
233 |
android:text=" loading ... "
|
234 |
android:textColor="#EEEEEE"
|
235 |
android:textColorLink="#EEEEEE"
|
236 |
android:textSize="20sp" />
|
237 |
|
238 |
<View
|
239 |
android:layout_width="100dp"
|
240 |
android:layout_height="0dp"
|
241 |
android:layout_below="@id/whats_here_text"
|
242 |
android:layout_marginBottom="0sp"
|
243 |
android:layout_marginTop="0sp"
|
244 |
android:paddingBottom="0sp"
|
245 |
android:paddingTop="0sp" />
|
246 |
</RelativeLayout>
|
247 |
|
248 |
<RelativeLayout
|
249 |
android:id="@+id/whats_here_pointer"
|
250 |
android:layout_width="fill_parent"
|
251 |
android:layout_height="34dp"
|
252 |
android:layout_below="@id/whats_here_container"
|
253 |
android:elevation="9dp" >
|
254 |
|
255 |
<ImageView
|
256 |
android:id="@+id/whats_here_pointer_image"
|
257 |
android:layout_width="34dp"
|
258 |
android:layout_height="fill_parent"
|
259 |
android:layout_alignParentLeft="true"
|
260 |
android:layout_marginTop="7dp"
|
261 |
android:elevation="9dp"
|
262 |
android:scaleType="fitCenter"
|
263 |
android:src="@drawable/whats_here_point" >
|
264 |
</ImageView>
|
265 |
</RelativeLayout>
|
266 |
</RelativeLayout>
|
267 |
|
268 |
<View
|
269 |
android:id="@+id/bottom_bar"
|
270 |
android:layout_width="match_parent"
|
271 |
android:layout_height="@dimen/bottom_bar_height"
|
272 |
android:layout_alignParentBottom="true"
|
273 |
android:background="#efefef"
|
274 |
android:elevation="9dp" />
|
275 |
|
276 |
<FrameLayout
|
277 |
android:id="@+id/bottom_bar_slide"
|
278 |
android:layout_width="match_parent"
|
279 |
android:layout_height="match_parent"
|
280 |
android:layout_alignParentBottom="true"
|
281 |
android:elevation="9dp" >
|
282 |
|
283 |
<RelativeLayout
|
284 |
android:id="@+id/bottom_bar_container"
|
285 |
android:layout_width="fill_parent"
|
286 |
android:layout_height="fill_parent"
|
287 |
android:elevation="9dp"
|
288 |
android:orientation="vertical" >
|
289 |
|
290 |
<View
|
291 |
android:id="@+id/bottom_slide_view_shadow_compat"
|
292 |
android:layout_width="fill_parent"
|
293 |
android:layout_height="@dimen/bottom_slide_view_shadow_compat_height"
|
294 |
android:background="@drawable/shadow_horizontal" />
|
295 |
|
296 |
<!-- <View -->
|
297 |
<!-- android:id="@+id/bottom_slide_view" -->
|
298 |
<!-- android:layout_width="fill_parent" -->
|
299 |
<!-- android:layout_height="96dp" -->
|
300 |
<!-- android:layout_below="@+id/bottom_slide_view_shadow_compat" -->
|
301 |
<!-- android:background="#efefef" -->
|
302 |
<!-- android:elevation="9dp" /> -->
|
303 |
|
304 |
<LinearLayout
|
305 |
android:id="@+id/bottom_slide_view"
|
306 |
android:layout_width="fill_parent"
|
307 |
android:layout_height="@dimen/bottom_slide_view_height"
|
308 |
android:layout_below="@+id/bottom_slide_view_shadow_compat"
|
309 |
android:background="#efefef"
|
310 |
android:elevation="9dp"
|
311 |
android:orientation="horizontal" >
|
312 |
|
313 |
<ImageView
|
314 |
android:id="@+id/bottom_slide_left_side"
|
315 |
android:layout_width="@dimen/bottom_slide_left_side_width"
|
316 |
android:layout_height="fill_parent"
|
317 |
android:layout_marginBottom="7dp"
|
318 |
android:layout_marginTop="7dp"
|
319 |
android:background="@android:color/transparent"
|
320 |
android:elevation="9dp"
|
321 |
android:scaleType="fitCenter"
|
322 |
android:src="@drawable/pin1_up" >
|
323 |
</ImageView>
|
324 |
|
325 |
<ImageView
|
326 |
android:id="@+id/gui_bottom_cutline"
|
327 |
android:layout_width="2dp"
|
328 |
android:layout_height="fill_parent"
|
329 |
android:layout_marginBottom="7dp"
|
330 |
android:layout_marginLeft="6dp"
|
331 |
android:layout_marginRight="6dp"
|
332 |
android:layout_marginTop="7dp"
|
333 |
android:background="@android:color/transparent"
|
334 |
android:elevation="9dp"
|
335 |
android:scaleType="fitXY"
|
336 |
android:src="@drawable/zanavi_cutline1" >
|
337 |
</ImageView>
|
338 |
|
339 |
<RelativeLayout
|
340 |
android:id="@+id/bottom_slide_right_side"
|
341 |
android:layout_width="fill_parent"
|
342 |
android:layout_height="fill_parent"
|
343 |
android:elevation="9dp"
|
344 |
android:orientation="vertical" >
|
345 |
|
346 |
<com.zoffcc.applications.zanavi.ZANaviOSDTimeToDest
|
347 |
android:id="@+id/osd_timetodest_new"
|
348 |
android:layout_width="fill_parent"
|
349 |
android:layout_height="@dimen/osd_timetodest_new_height" >
|
350 |
</com.zoffcc.applications.zanavi.ZANaviOSDTimeToDest>
|
351 |
|
352 |
<LinearLayout
|
353 |
android:id="@+id/bottom_line_container"
|
354 |
android:layout_width="fill_parent"
|
355 |
android:layout_height="@dimen/bottom_line_container_height"
|
356 |
android:layout_below="@+id/osd_timetodest_new"
|
357 |
android:orientation="horizontal" >
|
358 |
|
359 |
<!-- left -->
|
360 |
|
361 |
<com.zoffcc.applications.zanavi.ZANaviOSDRoadDist
|
362 |
android:id="@+id/osd_roaddistance_new"
|
363 |
android:layout_width="0dp"
|
364 |
android:layout_height="fill_parent"
|
365 |
android:layout_weight="0.5" >
|
366 |
</com.zoffcc.applications.zanavi.ZANaviOSDRoadDist>
|
367 |
|
368 |
<!-- right -->
|
369 |
|
370 |
<com.zoffcc.applications.zanavi.ZANaviOSDETA
|
371 |
android:id="@+id/osd_eta_new"
|
372 |
android:layout_width="0dp"
|
373 |
android:layout_height="fill_parent"
|
374 |
android:layout_weight="0.5" >
|
375 |
</com.zoffcc.applications.zanavi.ZANaviOSDETA>
|
376 |
</LinearLayout>
|
377 |
</RelativeLayout>
|
378 |
</LinearLayout>
|
379 |
|
380 |
<LinearLayout
|
381 |
android:id="@+id/roadbook_fragment_container"
|
382 |
android:layout_width="fill_parent"
|
383 |
android:layout_height="wrap_content"
|
384 |
android:layout_below="@+id/bottom_slide_view"
|
385 |
android:background="#efefef"
|
386 |
android:minHeight="@dimen/roadbook_fragment_container_min_height"
|
387 |
android:orientation="vertical" >
|
388 |
</LinearLayout>
|
389 |
</RelativeLayout>
|
390 |
</FrameLayout>
|
391 |
|
392 |
<FrameLayout
|
393 |
android:id="@+id/v002"
|
394 |
android:layout_width="match_parent"
|
395 |
android:layout_height="fill_parent"
|
396 |
android:layout_above="@+id/bottom_bar"
|
397 |
android:layout_below="@+id/gui_top_container" >
|
398 |
|
399 |
<View
|
400 |
android:id="@+id/gui_gr_map"
|
401 |
android:layout_width="fill_parent"
|
402 |
android:layout_height="fill_parent"
|
403 |
android:focusableInTouchMode="true" />
|
404 |
|
405 |
<View
|
406 |
android:id="@+id/gui_gr_vehicle"
|
407 |
android:layout_width="fill_parent"
|
408 |
android:layout_height="fill_parent" />
|
409 |
|
410 |
<include layout="@layout/zanavi_osd" />
|
411 |
|
412 |
<com.zoffcc.applications.zanavi.NavitAndroidOverlay
|
413 |
android:id="@+id/NavitAOverlay"
|
414 |
android:layout_width="fill_parent"
|
415 |
android:layout_height="fill_parent" >
|
416 |
</com.zoffcc.applications.zanavi.NavitAndroidOverlay>
|
417 |
|
418 |
<!-- <TextView -->
|
419 |
<!-- android:id="@+id/sc" -->
|
420 |
<!-- android:layout_width="fill_parent" -->
|
421 |
<!-- android:layout_height="fill_parent" /> -->
|
422 |
|
423 |
<TextView
|
424 |
android:id="@+id/NavitMsgTv"
|
425 |
android:layout_width="fill_parent"
|
426 |
android:layout_height="wrap_content"
|
427 |
android:layout_marginLeft="80dp"
|
428 |
android:layout_marginTop="100dp" />
|
429 |
|
430 |
<ScrollView
|
431 |
android:id="@+id/NavitMsgTv2"
|
432 |
android:layout_width="fill_parent"
|
433 |
android:layout_height="wrap_content" >
|
434 |
|
435 |
<TextView
|
436 |
android:id="@+id/NavitMsgTv2cc"
|
437 |
android:layout_width="fill_parent"
|
438 |
android:layout_height="wrap_content" />
|
439 |
</ScrollView>
|
440 |
|
441 |
<RelativeLayout
|
442 |
android:id="@+id/no_maps_container"
|
443 |
android:layout_width="wrap_content"
|
444 |
android:layout_height="wrap_content"
|
445 |
android:layout_marginLeft="8sp"
|
446 |
android:layout_marginTop="8sp"
|
447 |
android:background="#DDFAFAFA"
|
448 |
android:elevation="9dp"
|
449 |
android:paddingLeft="5sp"
|
450 |
android:paddingRight="5sp" >
|
451 |
|
452 |
<TextView
|
453 |
android:id="@+id/no_maps_text"
|
454 |
android:layout_width="200dp"
|
455 |
android:layout_height="wrap_content"
|
456 |
android:layout_centerHorizontal="true"
|
457 |
android:layout_marginLeft="10sp"
|
458 |
android:layout_marginRight="10sp"
|
459 |
android:text="\nNo Maps installed\nplease download a map\n\n"
|
460 |
android:textColor="#202020"
|
461 |
android:textColorLink="#57BDE9"
|
462 |
android:textSize="17sp" />
|
463 |
|
464 |
<Button
|
465 |
android:id="@+id/no_maps_button"
|
466 |
android:layout_width="100dp"
|
467 |
android:layout_height="wrap_content"
|
468 |
android:layout_below="@+id/no_maps_text"
|
469 |
android:layout_centerHorizontal="true"
|
470 |
android:layout_marginBottom="5sp"
|
471 |
android:background="#a0a0a0"
|
472 |
android:paddingBottom="5sp"
|
473 |
android:paddingTop="5sp"
|
474 |
android:text="Ok"
|
475 |
android:textColor="#202020"
|
476 |
android:textSize="18sp" />
|
477 |
|
478 |
<View
|
479 |
android:layout_width="100dp"
|
480 |
android:layout_height="0dp"
|
481 |
android:layout_below="@id/no_maps_button"
|
482 |
android:layout_marginBottom="0sp"
|
483 |
android:layout_marginTop="0sp"
|
484 |
android:paddingBottom="0sp"
|
485 |
android:paddingTop="0sp" />
|
486 |
</RelativeLayout>
|
487 |
|
488 |
<View
|
489 |
android:id="@+id/debug_text"
|
490 |
android:layout_width="fill_parent"
|
491 |
android:layout_height="fill_parent" />
|
492 |
|
493 |
<com.zoffcc.applications.zanavi.ZANaviBusySpinner
|
494 |
android:id="@+id/busyspinner"
|
495 |
android:layout_width="fill_parent"
|
496 |
android:layout_height="fill_parent" >
|
497 |
</com.zoffcc.applications.zanavi.ZANaviBusySpinner>
|
498 |
|
499 |
<!-- <android.opengl.GLSurfaceView -->
|
500 |
<!-- android:id="@+id/glSurfaceView_001" -->
|
501 |
<!-- android:layout_width="fill_parent" -->
|
502 |
<!-- android:layout_height="fill_parent" -->
|
503 |
<!-- android:elevation="9dp" > -->
|
504 |
<!-- </android.opengl.GLSurfaceView> -->
|
505 |
|
506 |
<com.zoffcc.applications.zanavi.ZANaviBusyText
|
507 |
android:id="@+id/busyspinnertext"
|
508 |
android:layout_width="fill_parent"
|
509 |
android:layout_height="fill_parent" >
|
510 |
</com.zoffcc.applications.zanavi.ZANaviBusyText>
|
511 |
</FrameLayout>
|
512 |
|
513 |
</RelativeLayout>
|