158 lines
4.8 KiB
XML
158 lines
4.8 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:background="@color/color_1F7FFF"
|
|
android:orientation="vertical">
|
|
|
|
<TextView
|
|
android:id="@+id/demo_module_id_loc_info"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:layout_marginTop="10dp" />
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content">
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_add_marker"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="上一个" />
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_add_markers"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="下一个" />
|
|
</LinearLayout>
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_clear"
|
|
android:layout_width="200dp"
|
|
android:layout_height="wrap_content"
|
|
android:text="播放" />
|
|
|
|
|
|
<LinearLayout
|
|
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_loc"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="定位" />
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_current"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="当前位置" />
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_2d3d"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="2D/3D" />
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_traffic"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="交通态势" />
|
|
|
|
</LinearLayout>
|
|
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_start_navi"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="开始导航" />
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_stop_navi"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="停止导航" />
|
|
|
|
<CheckBox
|
|
android:id="@+id/demo_module_id_navi_mode"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="模拟导航" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_zoom_in"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="放大" />
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_zoom_out"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="缩小" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_day_light"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="白天" />
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_day_night"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="黑夜" />
|
|
</LinearLayout>
|
|
|
|
<LinearLayout
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:visibility="gone">
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_display_overlay"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="全览" />
|
|
|
|
<Button
|
|
android:id="@+id/demo_module_id_reverse_lock"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="继续导航" />
|
|
</LinearLayout>
|
|
|
|
</LinearLayout>
|
|
|