地图模块代码更新3.0.0
25
libraries/mapmodule/src/main/res/anim/bottom_in.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromYDelta="200%p"
|
||||
android:toYDelta="0" />
|
||||
|
||||
</set>
|
||||
25
libraries/mapmodule/src/main/res/anim/bottom_out.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="200%p" />
|
||||
|
||||
</set>
|
||||
17
libraries/mapmodule/src/main/res/anim/cycle_7_1.xml
Normal file
@@ -0,0 +1,17 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<cycleInterpolator xmlns:android="http://schemas.android.com/apk/res/android" android:cycles="7" />
|
||||
25
libraries/mapmodule/src/main/res/anim/left_in.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromXDelta="-100%p"
|
||||
android:toXDelta="0" />
|
||||
|
||||
</set>
|
||||
25
libraries/mapmodule/src/main/res/anim/left_out.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="-100%p" />
|
||||
|
||||
</set>
|
||||
19
libraries/mapmodule/src/main/res/anim/push_left_in.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<translate android:fromXDelta="100%p" android:toXDelta="0" android:duration="300"/>
|
||||
</set>
|
||||
25
libraries/mapmodule/src/main/res/anim/right_in.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromXDelta="100%p"
|
||||
android:toXDelta="0" />
|
||||
|
||||
</set>
|
||||
25
libraries/mapmodule/src/main/res/anim/right_out.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromXDelta="0"
|
||||
android:toXDelta="200%p" />
|
||||
|
||||
</set>
|
||||
18
libraries/mapmodule/src/main/res/anim/shake.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<translate xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:fromXDelta="0" android:toXDelta="10" android:duration="800" android:interpolator="@anim/cycle_7_1" />
|
||||
@@ -0,0 +1,19 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!-- Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" android:interpolator="@android:anim/accelerate_interpolator">
|
||||
<translate android:fromYDelta="-100%" android:toXDelta="0" android:duration="800" />
|
||||
</set>
|
||||
25
libraries/mapmodule/src/main/res/anim/top_in.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromYDelta="-100%p"
|
||||
android:toYDelta="0" />
|
||||
|
||||
</set>
|
||||
25
libraries/mapmodule/src/main/res/anim/top_out.xml
Normal file
@@ -0,0 +1,25 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2007 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<set xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<translate
|
||||
android:duration="500"
|
||||
android:fromYDelta="0"
|
||||
android:toYDelta="-100%p" />
|
||||
|
||||
</set>
|
||||
@@ -0,0 +1,9 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:color="@color/white" android:state_activated="true" />
|
||||
<item android:color="@color/white" android:state_selected="true" />
|
||||
<item android:color="@color/white" android:state_pressed="true" />
|
||||
<item android:color="@color/white" android:state_checked="true" />
|
||||
<item android:color="@color/white_50" />
|
||||
|
||||
</selector>
|
||||
BIN
libraries/mapmodule/src/main/res/drawable/bg_menu_n.9.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
libraries/mapmodule/src/main/res/drawable/bg_menu_p.9.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
libraries/mapmodule/src/main/res/drawable/bg_search_edit.9.png
Normal file
|
After Width: | Height: | Size: 301 B |
36
libraries/mapmodule/src/main/res/drawable/btn.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle" >
|
||||
<solid android:color="#000000" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="3dip"
|
||||
android:bottomRightRadius="3dip"
|
||||
android:topLeftRadius="3dip"
|
||||
android:topRightRadius="3dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:bottom="4px"
|
||||
android:left="4px"
|
||||
android:right="4px"
|
||||
android:top="4px">
|
||||
<shape>
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:centerColor="#ecececec"
|
||||
android:endColor="#fefefefe"
|
||||
android:startColor="#d2d2d2d2"
|
||||
android:type="linear" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="3dip"
|
||||
android:bottomRightRadius="3dip"
|
||||
android:topLeftRadius="3dip"
|
||||
android:topRightRadius="3dip" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
12
libraries/mapmodule/src/main/res/drawable/btn_day.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#FEFEFE" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dip"
|
||||
android:bottomRightRadius="5dip"
|
||||
android:topLeftRadius="5dip"
|
||||
android:topRightRadius="5dip" />
|
||||
</shape>
|
||||
|
||||
12
libraries/mapmodule/src/main/res/drawable/btn_day_press.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#CCCCCC" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dip"
|
||||
android:bottomRightRadius="5dip"
|
||||
android:topLeftRadius="5dip"
|
||||
android:topRightRadius="5dip" />
|
||||
</shape>
|
||||
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/guidance_speed_bg"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/guidance_speed_p_bg"/>
|
||||
<item android:state_focused="true" android:drawable="@drawable/guidance_speed_p_bg" />
|
||||
</selector>
|
||||
@@ -0,0 +1,42 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
Copyright (C) 2011 The Android Open Source Project
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
-->
|
||||
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<!-- Functional keys. -->
|
||||
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_pressed_holo" android:state_pressed="true" android:state_single="true"/>-->
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_normal_holo" android:state_single="true"/>-->
|
||||
|
||||
<!-- <!– Action keys. –>-->
|
||||
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_pressed_holo" android:state_active="true" android:state_pressed="true"/>-->
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_active_holo" android:state_active="true"/>-->
|
||||
|
||||
<!-- <!– Toggle keys. Use checkable/checked state. –>-->
|
||||
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_pressed_on_holo" android:state_checkable="true" android:state_checked="true" android:state_pressed="true"/>-->
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_pressed_off_holo" android:state_checkable="true" android:state_pressed="true"/>-->
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_normal_on_holo" android:state_checkable="true" android:state_checked="true"/>-->
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_dark_normal_off_holo" android:state_checkable="true"/>-->
|
||||
|
||||
<!-- <!– Normal keys. –>-->
|
||||
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_light_pressed_holo" android:state_pressed="true"/>-->
|
||||
<!-- <item android:drawable="@drawable/btn_keyboard_key_light_normal_holo"/>-->
|
||||
|
||||
</selector>
|
||||
12
libraries/mapmodule/src/main/res/drawable/btn_night.xml
Normal file
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#3C4046" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dip"
|
||||
android:bottomRightRadius="5dip"
|
||||
android:topLeftRadius="5dip"
|
||||
android:topRightRadius="5dip" />
|
||||
</shape>
|
||||
|
||||
@@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#2E3135" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="5dip"
|
||||
android:bottomRightRadius="5dip"
|
||||
android:topLeftRadius="5dip"
|
||||
android:topRightRadius="5dip" />
|
||||
</shape>
|
||||
|
||||
36
libraries/mapmodule/src/main/res/drawable/btn_p.xml
Normal file
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle" >
|
||||
<solid android:color="#000000" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="3dip"
|
||||
android:bottomRightRadius="3dip"
|
||||
android:topLeftRadius="3dip"
|
||||
android:topRightRadius="3dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px">
|
||||
<shape>
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:startColor="#cf9b67"
|
||||
android:centerColor="#e2b57d"
|
||||
android:endColor="#f2cf8f"
|
||||
android:type="linear" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="3dip"
|
||||
android:bottomRightRadius="3dip"
|
||||
android:topLeftRadius="3dip"
|
||||
android:topRightRadius="3dip" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/btn"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn_p"/>
|
||||
<item android:state_focused="true" android:drawable="@drawable/btn_p" />
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/btn_day"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn_day_press"/>
|
||||
<item android:state_focused="true" android:drawable="@drawable/btn_day_press" />
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/btn_night"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn_night_press"/>
|
||||
<item android:state_focused="true" android:drawable="@drawable/btn_night_press" />
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/btn_p"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/btn"/>
|
||||
<item android:state_focused="true" android:drawable="@drawable/btn" />
|
||||
</selector>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:drawable="@color/gray_light_d" android:state_pressed="true" />
|
||||
<item android:drawable="@color/gray_light" android:state_focused="false" android:state_pressed="false" />
|
||||
<item android:drawable="@color/gray_light" android:state_focused="true" />
|
||||
<item android:drawable="@color/gray_light" android:state_focused="false" />
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 2.0 KiB |
10
libraries/mapmodule/src/main/res/drawable/editbox_bkg.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
|
||||
<corners android:radius="2dp" />
|
||||
|
||||
<stroke
|
||||
android:width="1dp"
|
||||
android:color="#5b9bd5" />
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="5dp"/>
|
||||
<solid android:color="#45514D"/>
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="5dp"/>
|
||||
<solid android:color="#3F4B47"/>
|
||||
|
||||
</shape>
|
||||
|
After Width: | Height: | Size: 16 KiB |
|
After Width: | Height: | Size: 282 B |
|
After Width: | Height: | Size: 2.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
BIN
libraries/mapmodule/src/main/res/drawable/ic_search_input.9.png
Normal file
|
After Width: | Height: | Size: 966 B |
|
After Width: | Height: | Size: 227 B |
BIN
libraries/mapmodule/src/main/res/drawable/line_v.9.png
Normal file
|
After Width: | Height: | Size: 92 B |
BIN
libraries/mapmodule/src/main/res/drawable/list_line.9.png
Normal file
|
After Width: | Height: | Size: 89 B |
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector
|
||||
xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
|
||||
<item android:state_window_focused="false" android:drawable="@color/unselected_list" />
|
||||
<!-- 非触摸模式下获得焦点并单击时的背景颜色 -->
|
||||
<item android:state_focused="true" android:state_pressed="true" android:drawable="@color/selected_list" />
|
||||
<!--触摸模式下单击时的背景颜色 -->
|
||||
<item android:state_focused="false" android:state_pressed="true" android:drawable="@color/selected_list" />
|
||||
<!--选中时的背景颜色 -->
|
||||
<item android:state_selected="true" android:drawable="@color/selected_list" />
|
||||
<!--获得焦点时的背景 颜色-->
|
||||
<item android:state_focused="true" android:drawable="@color/selected_list" />
|
||||
</selector>
|
||||
|
After Width: | Height: | Size: 27 KiB |
BIN
libraries/mapmodule/src/main/res/drawable/mapscale.9.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
@@ -0,0 +1,36 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle" >
|
||||
<solid android:color="#000000" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="1dip"
|
||||
android:bottomRightRadius="1dip"
|
||||
android:topLeftRadius="1dip"
|
||||
android:topRightRadius="1dip" />
|
||||
</shape>
|
||||
</item>
|
||||
<item
|
||||
android:bottom="1px"
|
||||
android:left="1px"
|
||||
android:right="1px"
|
||||
android:top="1px">
|
||||
<shape>
|
||||
<gradient
|
||||
android:angle="180"
|
||||
android:startColor="#cf9b67"
|
||||
android:centerColor="#e2b57d"
|
||||
android:endColor="#f2cf8f"
|
||||
android:type="linear" />
|
||||
|
||||
<corners
|
||||
android:bottomLeftRadius="2dip"
|
||||
android:bottomRightRadius="2dip"
|
||||
android:topLeftRadius="2dip"
|
||||
android:topRightRadius="2dip" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<corners android:radius="20dp"/>
|
||||
<stroke android:color="@color/white" android:width="3dp"/>
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@mipmap/ic_show_map_n" />
|
||||
<item android:state_pressed="true" android:drawable="@mipmap/ic_show_map_p" />
|
||||
<item android:state_focused="true" android:drawable="@mipmap/ic_show_map_p" />
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/bg_menu_n" />
|
||||
<item android:state_pressed="true" android:drawable="@drawable/bg_menu_p" />
|
||||
<item android:state_focused="true" android:drawable="@drawable/bg_menu_p" />
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/ic_panel_route_select"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_panel_route_select_down"/>
|
||||
<item android:state_focused="true" android:drawable="@drawable/ic_panel_route_select_down" />
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@drawable/ic_panel_route_select_down"/>
|
||||
<item android:state_pressed="true" android:drawable="@drawable/ic_panel_route_select"/>
|
||||
<item android:state_focused="true" android:drawable="@drawable/ic_panel_route_select" />
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@mipmap/ic_search_btn_up" />
|
||||
<item android:state_pressed="true" android:drawable="@mipmap/ic_search_btn_down" />
|
||||
<item android:state_focused="true" android:drawable="@mipmap/ic_search_btn_down" />
|
||||
</selector>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@mipmap/panel_search_indicator_s" />
|
||||
<item android:state_pressed="true" android:drawable="@mipmap/panel_search_indicator_p" />
|
||||
<item android:state_focused="true" android:drawable="@mipmap/panel_search_indicator_p" />
|
||||
<item android:state_selected="true" android:drawable="@mipmap/panel_search_indicator_p"/>
|
||||
</selector>
|
||||
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
<item android:state_window_focused="false" android:drawable="@mipmap/ic_search_voice_up" />
|
||||
<item android:state_pressed="true" android:drawable="@mipmap/ic_search_voice_down" />
|
||||
<item android:state_focused="true" android:drawable="@mipmap/ic_search_voice_down" />
|
||||
</selector>
|
||||
26
libraries/mapmodule/src/main/res/drawable/progress_bg.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<!-- 设置背景色 -->
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle" >
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<solid android:color="#56595c"></solid>
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
<item>
|
||||
<clip android:clipOrientation="horizontal"
|
||||
android:gravity="right">
|
||||
|
||||
<shape>
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<solid android:color="#0092FF"></solid>
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
10
libraries/mapmodule/src/main/res/drawable/rect_dark.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="#dc000000"></solid>
|
||||
|
||||
<!-- 矩形的圆角半径 -->
|
||||
<corners android:radius="15dp" />
|
||||
|
||||
</shape>
|
||||
10
libraries/mapmodule/src/main/res/drawable/rect_light.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<!-- 填充颜色 -->
|
||||
<solid android:color="#e6ffffff"></solid>
|
||||
|
||||
<!-- 矩形的圆角半径 -->
|
||||
<corners android:radius="15dp" />
|
||||
|
||||
</shape>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_activated="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
<item android:state_selected="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
<item android:state_checked="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/text_bg_color" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
13
libraries/mapmodule/src/main/res/drawable/shadow_left.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="360"
|
||||
android:endColor="#000000"
|
||||
android:startColor="#55808080" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
14
libraries/mapmodule/src/main/res/drawable/shadow_line.xml
Normal file
@@ -0,0 +1,14 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="360"
|
||||
android:startColor="@color/bgSearchList"
|
||||
android:centerColor="#ffffffff"
|
||||
android:endColor="@color/bgSearchList" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
10
libraries/mapmodule/src/main/res/drawable/shadow_line2.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
|
||||
<shape android:shape="rectangle" >
|
||||
<solid android:color="@color/text_list_color" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -0,0 +1,31 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
<shape android:shape="rectangle" >
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:centerColor="#3C3C3C"
|
||||
android:endColor="#272727"
|
||||
android:startColor="#272727" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
<item>
|
||||
<clip>
|
||||
<shape>
|
||||
<corners android:radius="5dip" />
|
||||
|
||||
<gradient
|
||||
android:angle="90"
|
||||
android:centerColor="#9a9d9c"
|
||||
android:endColor="#4e5351"
|
||||
android:startColor="#4e5351" />
|
||||
</shape>
|
||||
</clip>
|
||||
</item>
|
||||
|
||||
</layer-list>
|
||||
13
libraries/mapmodule/src/main/res/drawable/shadow_right.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<layer-list xmlns:android="http://schemas.android.com/apk/res/android" >
|
||||
|
||||
<item>
|
||||
|
||||
<shape android:shape="rectangle" >
|
||||
<gradient
|
||||
android:angle="360"
|
||||
android:endColor="#55808080"
|
||||
android:startColor="#000000" />
|
||||
</shape>
|
||||
</item>
|
||||
</layer-list>
|
||||
@@ -0,0 +1,27 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<selector xmlns:android="http://schemas.android.com/apk/res/android">
|
||||
<item android:state_activated="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
<item android:state_selected="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
<item android:state_pressed="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
|
||||
|
||||
<item android:state_checked="true">
|
||||
<shape android:shape="rectangle">
|
||||
<solid android:color="@color/blue" />
|
||||
</shape>
|
||||
</item>
|
||||
</selector>
|
||||
@@ -0,0 +1,30 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<!--
|
||||
/* //device/apps/common/res/drawable/status_icon_background.xml
|
||||
**
|
||||
** Copyright 2008, The Android Open Source Project
|
||||
**
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
**
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
**
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
*/
|
||||
-->
|
||||
<animation-list
|
||||
xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:oneshot="false">
|
||||
<item android:drawable="@mipmap/stat_sys_download_anim0" android:duration="200" />
|
||||
<item android:drawable="@mipmap/stat_sys_download_anim1" android:duration="200" />
|
||||
<item android:drawable="@mipmap/stat_sys_download_anim2" android:duration="200" />
|
||||
<item android:drawable="@mipmap/stat_sys_download_anim3" android:duration="200" />
|
||||
<item android:drawable="@mipmap/stat_sys_download_anim4" android:duration="200" />
|
||||
<item android:drawable="@mipmap/stat_sys_download_anim5" android:duration="200" />
|
||||
</animation-list>
|
||||
|
||||
6
libraries/mapmodule/src/main/res/drawable/text_bg.xml
Normal file
@@ -0,0 +1,6 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="@color/text_color_bg" />
|
||||
<stroke android:color="@color/text_bg_color" android:width="2dp"/>
|
||||
</shape>
|
||||
@@ -0,0 +1,5 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<shape xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:shape="rectangle">
|
||||
<solid android:color="#00000000" />
|
||||
</shape>
|
||||
@@ -0,0 +1,69 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<RadioGroup
|
||||
android:id="@+id/rg_routing_set"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="10dp">
|
||||
|
||||
<RadioButton
|
||||
style="@style/rb_map_nav"
|
||||
android:id="@+id/routing_set_default"
|
||||
android:text="系统默认" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="@drawable/shadow_line2" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/routing_set_fast"
|
||||
style="@style/rb_map_nav"
|
||||
android:text="时间最短" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="@drawable/shadow_line2" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/routing_set_short"
|
||||
style="@style/rb_map_nav"
|
||||
android:text="距离最短" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="@drawable/shadow_line2" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/routing_set_avoidhwy"
|
||||
style="@style/rb_map_nav"
|
||||
android:text="规避高速"/>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:background="@drawable/shadow_line2" />
|
||||
|
||||
<RadioButton
|
||||
android:id="@+id/routing_set_avoidtoll"
|
||||
style="@style/rb_map_nav"
|
||||
android:text="规避收费" />
|
||||
|
||||
<ImageView
|
||||
android:layout_width="100dp"
|
||||
android:layout_height="1dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginBottom="10dp"
|
||||
android:background="@drawable/shadow_line2" />
|
||||
</RadioGroup>
|
||||
|
||||
</LinearLayout>
|
||||
95
libraries/mapmodule/src/main/res/layout/dialog_select.xml
Normal file
@@ -0,0 +1,95 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/bkg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:background="#ffffff"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_dialog_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="15dp"
|
||||
android:gravity="center"
|
||||
android:text="标题"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="20dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_dialog_tip"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:gravity="center_horizontal"
|
||||
android:text="测试文本"
|
||||
android:textColor="@color/black"
|
||||
android:textSize="14dp" />
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/box_custom"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:visibility="gone"></RelativeLayout>
|
||||
|
||||
<EditText
|
||||
android:id="@+id/txt_input"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="45dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:background="@drawable/editbox_bkg"
|
||||
android:gravity="center"
|
||||
android:singleLine="true"
|
||||
android:text=""
|
||||
android:textColor="#000000"
|
||||
android:textSize="18dp"
|
||||
android:visibility="gone" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="50dp"
|
||||
android:layout_gravity="center_horizontal"
|
||||
android:layout_marginTop="20dp"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btn_selectNegative"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/button_selectordialog_gray"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="negative"
|
||||
android:textColor="#000000"
|
||||
android:textSize="14dp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/btn_selectPositive"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="@drawable/button_selectordialog_gray"
|
||||
android:clickable="true"
|
||||
android:gravity="center"
|
||||
android:text="positive"
|
||||
android:textColor="#000000"
|
||||
android:textSize="14dp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</RelativeLayout>
|
||||
53
libraries/mapmodule/src/main/res/layout/dialog_tip.xml
Normal file
@@ -0,0 +1,53 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/box_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minHeight="125dp"
|
||||
android:minWidth="125dp"
|
||||
android:visibility="visible">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/box_bkg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"></RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="65dp"
|
||||
android:layout_height="65dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginTop="13dp"
|
||||
android:src="@mipmap/img_warning" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginTop="90dp"
|
||||
android:gravity="center"
|
||||
android:maxLines="3"
|
||||
android:text="Tip"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
63
libraries/mapmodule/src/main/res/layout/dialog_wait.xml
Normal file
@@ -0,0 +1,63 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerInParent="true">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/box_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:minWidth="120px"
|
||||
android:minHeight="120px"
|
||||
android:visibility="visible">
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/box_bkg"
|
||||
android:layout_width="120px"
|
||||
android:layout_height="120px"></RelativeLayout>
|
||||
|
||||
<RelativeLayout
|
||||
android:id="@+id/box_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="13dp"
|
||||
android:layout_marginRight="15dp">
|
||||
|
||||
<com.zhidaoauto.map.sdk.open.dialog.ProgressView
|
||||
android:id="@+id/progress"
|
||||
android:layout_width="65dp"
|
||||
android:layout_height="65dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/txt_info"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_below="@+id/box_progress"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginLeft="15dp"
|
||||
android:layout_marginTop="12dp"
|
||||
android:layout_marginRight="15dp"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:gravity="center"
|
||||
android:maxLines="3"
|
||||
android:text="Tip"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="14dp" />
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,40 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/custom_info_bubble"
|
||||
android:gravity="center"
|
||||
android:id="@+id/ll_infowindow"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/ic_launcher" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_marginLeft="10dp"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
|
||||
<TextView
|
||||
android:ellipsize="end"
|
||||
android:lines="1"
|
||||
android:text="@string/infowindow_title"
|
||||
android:id="@+id/tv_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
<TextView
|
||||
android:ellipsize="end"
|
||||
android:lines="2"
|
||||
android:layout_marginTop="4dp"
|
||||
android:text="@string/infowindow_snippet"
|
||||
android:id="@+id/tv_snippet"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/map_container"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<merge xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<com.autonavi.nge.map.MarkerView
|
||||
android:id="@+id/markerViewLayer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
<com.autonavi.nge.map.MyViewGroup
|
||||
android:id="@+id/infoWindowLayer"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent" />
|
||||
|
||||
</merge>
|
||||
@@ -0,0 +1,29 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:padding="5dp"
|
||||
android:gravity="center"
|
||||
android:background="@drawable/custom_info_bubble"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/infoW_title"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:lines="1"
|
||||
android:maxLines="1"
|
||||
android:textSize="13sp"
|
||||
android:textColor="@color/black"
|
||||
android:ellipsize="end"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/infow_content"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textSize="10sp"
|
||||
android:maxLines="2"
|
||||
android:layout_marginBottom="15dp"
|
||||
android:textColor="@color/black" />
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,27 @@
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/panel_btn_gps"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/panel_text_gps"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:layout_marginTop="3dip"
|
||||
android:text="0"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn2" />
|
||||
|
||||
<TextView
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:gravity="center"
|
||||
android:text="GPS"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
</FrameLayout>
|
||||
@@ -0,0 +1,470 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:keepScreenOn="true">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent">
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/guidance_left"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_above="@+id/sim_navi_control" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|top"
|
||||
android:orientation="vertical"
|
||||
android:layout_margin="10dp">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/guidance_tv_speed"
|
||||
android:layout_width="77dip"
|
||||
android:layout_height="77dp"
|
||||
android:background="@drawable/btn_guidance_selecter"
|
||||
android:gravity="center"
|
||||
android:clickable="true"
|
||||
android:text="160km/h"
|
||||
android:textSize="18sp"
|
||||
android:textColor="#dddddd" />
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/sim_navi_start"
|
||||
android:layout_width="77dp"
|
||||
android:layout_height="77dp"
|
||||
android:background="@drawable/btn_guidance_selecter"
|
||||
android:src="@mipmap/icon_pause_night"
|
||||
android:layout_marginTop="10dp"/>
|
||||
|
||||
<Button
|
||||
android:id="@+id/guidance_btn_show_route_mode"
|
||||
android:layout_width="77dp"
|
||||
android:layout_height="77dp"
|
||||
android:layout_marginTop="10dp"
|
||||
android:background="@drawable/btn_guidance_selecter"
|
||||
android:gravity="center"
|
||||
android:text="全 貌"
|
||||
android:textSize="18sp"
|
||||
android:textColor="#dddddd" />
|
||||
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_lane_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center|bottom"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_lane_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_gravity="bottom|left"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_board_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center|top"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_board_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center|top"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_bind_car_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible" />
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/panel_guidance_right"
|
||||
android:layout_width="350dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:background="#474C51"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_layout_next_road_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.4"
|
||||
android:gravity="left|center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_layout_next_road_two_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:gravity="left|top"
|
||||
android:paddingRight="5dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_next_road_two_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="G6"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_next_export"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_next_road"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:text="下一道路名"
|
||||
android:textColor="#dddddd"
|
||||
android:textSize="20dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_layout_server_enter"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.4"
|
||||
android:gravity="left|center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_server_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_server_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_server_dis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="G6"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_enter_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_enter_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_enter_dis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_exit_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_exit_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_exit_dis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="G6"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:padding="10dp">
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_next_road"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:src="@mipmap/navi_s_1"
|
||||
android:clickable="true" />
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
>
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_next_road_over_mileage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="5.2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="50sp"
|
||||
android:textStyle="bold"/>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:text="后"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"/>
|
||||
</LinearLayout>
|
||||
<TextView
|
||||
android:id="@+id/tv_next_road"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="下一道路名"
|
||||
android:textColor="#dddddd"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/lin_next_turn"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center"
|
||||
android:padding="10dp"
|
||||
android:visibility="visible">
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_next_turn"
|
||||
android:layout_width="30dp"
|
||||
android:layout_height="30dp"
|
||||
android:src="@mipmap/navi_s_1"
|
||||
android:clickable="true" />
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
>
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:gravity="center"
|
||||
>
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:text="随后"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"/>
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_next_road_trun_mileage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="5.2"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp"
|
||||
android:textStyle="bold"/>
|
||||
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/guidance_progressBar"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="330dp"
|
||||
android:layout_height="8dp"
|
||||
android:layout_gravity="center"
|
||||
android:max="100"
|
||||
android:progress="50"
|
||||
android:progressDrawable="@drawable/progress_bg" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_3d_route_bg"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_3d_route_arrow"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="invisible" />
|
||||
|
||||
|
||||
</FrameLayout>
|
||||
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="58dp"
|
||||
android:layout_weight="1.4"
|
||||
android:background="#313337"
|
||||
android:orientation="horizontal"
|
||||
android:padding="10dp">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_over_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2:36"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_over_mileage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="245km"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_over_mileage"
|
||||
android:layout_width="20dip"
|
||||
android:layout_height="20dip"
|
||||
android:layout_marginLeft="10dip" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
73
libraries/mapmodule/src/main/res/layout/navi_control_btn.xml
Normal file
@@ -0,0 +1,73 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="right" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/sim_navi_pre"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:src="@mipmap/icon_sim_navi_pre"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/sim_navi_text"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="#ecececec"
|
||||
android:gravity="center"
|
||||
android:text="1X"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="left" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/sim_navi_next"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:src="@mipmap/icon_sim_navi_next"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center" >
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/sim_navi_start"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:src="@mipmap/icon_sim_navi_pause"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
13
libraries/mapmodule/src/main/res/layout/panel_btn_cars.xml
Normal file
@@ -0,0 +1,13 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp">
|
||||
<FrameLayout
|
||||
android:visibility="visible"
|
||||
android:id="@+id/fl_cars"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:orientation="vertical">
|
||||
|
||||
</FrameLayout>
|
||||
</RelativeLayout>
|
||||
230
libraries/mapmodule/src/main/res/layout/panel_btn_left.xml
Normal file
@@ -0,0 +1,230 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_navi"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_tu"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="设途经点"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_dest"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="设目的地"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_start"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="设出发地"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_pos"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="我的位置"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu_left_layout"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="5dip"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/poi_browse_btns"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/poi_browse_btn_back"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="返回"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn"
|
||||
android:visibility="gone" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/poi_browse_btn_exit"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="退出"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/poi_browse_btn_pre"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="向上"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/poi_browse_btn_next"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="向下"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_periphery"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="周边"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/menu_left_btns"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<HorizontalScrollView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:scrollbars="none">
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_recent"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="近期地点"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_search"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="地点查找"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_common"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="常用功能"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_periphery_search"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="周边查找"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_setting"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:layout_marginRight="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="系统设置"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_bt"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="开启 DR"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_show"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="行驶信息"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/menu_btn_clearmap"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginRight="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="清空地图"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
</HorizontalScrollView>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageButton
|
||||
android:id="@+id/menu_left_btn"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:src="@mipmap/menu_left_btn_icon_in" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,12 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/btn_pos"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:src="@mipmap/icon_location_night" />
|
||||
</LinearLayout>
|
||||
16
libraries/mapmodule/src/main/res/layout/panel_btn_logo.xml
Normal file
@@ -0,0 +1,16 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_logo"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:textColor="#81868A"
|
||||
android:text="蘑菇地图"
|
||||
android:textSize="20sp"/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
26
libraries/mapmodule/src/main/res/layout/panel_btn_scale.xml
Normal file
@@ -0,0 +1,26 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp"
|
||||
android:layout_marginRight="10dip">
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_scale"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="right"
|
||||
android:paddingBottom="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:textColor="#81868A"
|
||||
android:textSize="20sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_scale_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/mapscale"
|
||||
android:gravity="center" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
19
libraries/mapmodule/src/main/res/layout/panel_btn_zoom.xml
Normal file
@@ -0,0 +1,19 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_zoom_in"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:src="@mipmap/icon_zoom_in_night" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_zoom_out"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:src="@mipmap/icon_zoom_out_night" />
|
||||
</LinearLayout>
|
||||
|
||||
@@ -0,0 +1,95 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginRight="10dip"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_zoom_value"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="vertical"
|
||||
android:visibility="gone">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_zoom_country"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="国家"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_zoom_provincial"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="省际"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_zoom_city"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="城市"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_zoom_road"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="街道"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_zoom_control"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:layout_toRightOf="@id/layout_zoom_value"
|
||||
android:gravity="right"
|
||||
android:orientation="vertical">
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_zoom_out"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="-"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/layout_zoom"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:orientation="horizontal"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn"></LinearLayout>
|
||||
|
||||
<Button
|
||||
android:id="@+id/btn_zoom_in"
|
||||
android:layout_width="@dimen/btn_size"
|
||||
android:layout_height="@dimen/btn_size"
|
||||
android:layout_marginTop="5dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:text="+"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
485
libraries/mapmodule/src/main/res/layout/panel_guidance.xml
Normal file
@@ -0,0 +1,485 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:keepScreenOn="true"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="0.8" >
|
||||
|
||||
<FrameLayout
|
||||
android:id="@+id/guidance_left"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_above="@+id/sim_navi_control" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right|top"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/guidance_tv_speed"
|
||||
android:layout_width="77dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/guidance_speed_bg"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:clickable="true"
|
||||
android:text="160km/h"
|
||||
android:textColor="#dddddd" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/guidance_btn_show_route_mode"
|
||||
android:layout_width="77dip"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@drawable/btn_guidance_selecter"
|
||||
android:gravity="center"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:text="全 貌"
|
||||
android:textColor="#dddddd" />
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_lane_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center|bottom"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_lane_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginBottom="5dp"
|
||||
android:layout_gravity="bottom|left"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_board_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center|top"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_board_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center|top"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_bind_car_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="invisible" />
|
||||
</FrameLayout>
|
||||
|
||||
<include
|
||||
android:id="@+id/sim_navi_control"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:layout_margin="10dip"
|
||||
layout="@layout/navi_control_btn" />
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="5dip"
|
||||
android:layout_height="fill_parent"
|
||||
android:alpha="1"
|
||||
android:background="@drawable/shadow_left" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/panel_guidance_right"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:background="#0b0b0b"
|
||||
android:orientation="vertical" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.4"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_over_time"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="2:36"
|
||||
android:textColor="#65ba81"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_over_mileage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="245km"
|
||||
android:textColor="#65ba81"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_over_mileage"
|
||||
android:layout_width="20dip"
|
||||
android:layout_height="20dip"
|
||||
android:layout_marginLeft="10dip" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@drawable/shadow_line" />
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_layout_next_road_name"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.4"
|
||||
android:gravity="left|center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="visible" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_layout_next_road_two_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dp"
|
||||
android:gravity="left|top"
|
||||
android:paddingRight="5dp" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_next_road_two_name"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="G6"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_next_export"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_next_road"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dip"
|
||||
android:text="下一道路名"
|
||||
android:textColor="#dddddd"
|
||||
android:textSize="20dp" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_layout_server_enter"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.4"
|
||||
android:gravity="left|center"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_server_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_server_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_server_dis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="G6"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_enter_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_enter_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_enter_dis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_exit_image"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:gravity="left|center_vertical"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_exit_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="出口"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_exit_dis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@color/bgSearchList"
|
||||
android:paddingBottom="3dp"
|
||||
android:paddingLeft="5dp"
|
||||
android:paddingRight="5dp"
|
||||
android:paddingTop="3dp"
|
||||
android:text="G6"
|
||||
android:textColor="@drawable/white"
|
||||
android:textStyle="bold" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/guidance_layout_next_road"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.3"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal"
|
||||
android:visibility="gone" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1" >
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/next_icon"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:background="@mipmap/icon1005"
|
||||
android:gravity="center" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_weight="1"
|
||||
android:gravity="right" >
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_next_turn_over_mileage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:text="5.2k"
|
||||
android:textColor="#dddddd"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/guidance_iv_line"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@drawable/shadow_line"
|
||||
android:visibility="gone" />
|
||||
|
||||
<FrameLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_3d_route_bg"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_3d_route_arrow"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:visibility="invisible" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_guidance_next_road"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginRight="20dip"
|
||||
android:background="@mipmap/navi_s_1"
|
||||
android:clickable="true" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/guidance_tv_progress"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginRight="40dip"
|
||||
android:layout_marginTop="5dip"
|
||||
android:text="100m"
|
||||
android:textColor="#dddddd" />
|
||||
|
||||
<ProgressBar
|
||||
android:id="@+id/guidance_progressBar"
|
||||
style="?android:attr/progressBarStyleHorizontal"
|
||||
android:layout_width="100dip"
|
||||
android:layout_height="18dip"
|
||||
android:layout_gravity="center"
|
||||
android:indeterminate="false"
|
||||
android:indeterminateOnly="false"
|
||||
android:max="100"
|
||||
android:maxHeight="20dip"
|
||||
android:minHeight="20dip"
|
||||
android:padding="1dip"
|
||||
android:paddingLeft="100dip"
|
||||
android:progress="50"
|
||||
android:progressDrawable="@drawable/shadow_progress"
|
||||
android:rotation="90" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/iv_guidance_next_road_over_mileage"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="top|right"
|
||||
android:layout_marginRight="10dip"
|
||||
android:layout_marginTop="10dip"
|
||||
android:text="5.2k"
|
||||
android:textColor="#dddddd"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</FrameLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@drawable/shadow_line" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1.4"
|
||||
android:gravity="center|left"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_guidance_cur_road"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:text="当前道路名"
|
||||
android:textColor="#dddddd"
|
||||
android:textSize="24dp"
|
||||
android:visibility="gone" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
10
libraries/mapmodule/src/main/res/layout/panel_polygon.xml
Normal file
@@ -0,0 +1,10 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content">
|
||||
<com.zhidaoauto.map.sdk.inner.panel.PolyLineView
|
||||
android:id="@+id/cus_polygon"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"/>
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
123
libraries/mapmodule/src/main/res/layout/panel_route_select.xml
Normal file
@@ -0,0 +1,123 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:background="@color/bg_gray_common_page"
|
||||
>
|
||||
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/route_select_setting"
|
||||
android:layout_width="300dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="20dp"
|
||||
android:orientation="vertical"
|
||||
android:visibility="visible">
|
||||
|
||||
<include
|
||||
layout="@layout/dialog_routing_set"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:gravity="center" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/route_select_time"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:gravity="left"
|
||||
android:text="时间 距离"
|
||||
android:textColor="@color/text_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
|
||||
<Button
|
||||
android:id="@+id/route_select_ok"
|
||||
android:layout_width="120dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
android:layout_marginTop="20dp"
|
||||
android:background="@color/blue"
|
||||
android:gravity="center"
|
||||
android:padding="10dp"
|
||||
android:text="确定"
|
||||
android:layout_marginBottom="20dp"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/route_select_start"
|
||||
android:layout_width="350dp"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dp"
|
||||
android:visibility="gone">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:padding="10dip">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_back"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:paddingTop="10dp"
|
||||
android:paddingRight="10dp"
|
||||
android:paddingBottom="10dp"
|
||||
android:visibility="gone"
|
||||
android:src="@mipmap/ic_arrow_left_pressed" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/route_select_start_navi"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_marginRight="10dp"
|
||||
android:background="@drawable/selector_nav_btn"
|
||||
android:padding="10dp"
|
||||
android:text="开始导航"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="22sp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/route_select_sim_navi"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_alignParentRight="true"
|
||||
android:layout_centerVertical="true"
|
||||
android:layout_toRightOf="@id/route_select_start_navi"
|
||||
android:background="@drawable/selector_nav_btn"
|
||||
android:padding="10dp"
|
||||
android:text="模拟导航"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="22sp"></Button>
|
||||
</RelativeLayout>
|
||||
|
||||
<ImageView
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="1dip"
|
||||
android:background="@drawable/shadow_line2" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_dis"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_margin="10dp"
|
||||
android:text="时间 距离"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<androidx.recyclerview.widget.RecyclerView
|
||||
android:id="@+id/lv_info"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
/>
|
||||
</LinearLayout>
|
||||
|
||||
</RelativeLayout>
|
||||
120
libraries/mapmodule/src/main/res/layout/panel_route_set.xml
Normal file
@@ -0,0 +1,120 @@
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:background="@color/bgSearchList"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dip" >
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="出发地:"
|
||||
android:textColor="@color/text_list_color"
|
||||
android:textSize="20dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/route_set_start"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="30dip"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="途经点:"
|
||||
android:textColor="@color/text_list_color"
|
||||
android:textSize="20dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/route_set_waypoi"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="30dip"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="horizontal" >
|
||||
|
||||
<TextView
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:text="目的地:"
|
||||
android:textColor="@color/text_list_color"
|
||||
android:textSize="20dp" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/route_set_end"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="30dip"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:textColor="@color/text_btn_color"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
|
||||
<LinearLayout
|
||||
android:id="@+id/route_set_layout"
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="fill_parent"
|
||||
android:layout_gravity="center"
|
||||
android:layout_weight="1"
|
||||
android:gravity="center"
|
||||
android:orientation="vertical"
|
||||
android:padding="10dip" >
|
||||
|
||||
<include
|
||||
android:layout_width="fill_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center"
|
||||
layout="@layout/dialog_routing_set"
|
||||
android:gravity="center" />
|
||||
|
||||
<Button
|
||||
android:id="@+id/route_set_ok"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="30dip"
|
||||
android:layout_gravity="right"
|
||||
android:layout_marginLeft="10dip"
|
||||
android:layout_marginTop="20dip"
|
||||
android:background="@drawable/btn_selecter"
|
||||
android:paddingLeft="10dip"
|
||||
android:paddingRight="10dip"
|
||||
android:text="确定"
|
||||
android:textColor="#ffffff"
|
||||
android:textSize="@dimen/text_size_btn" />
|
||||
</LinearLayout>
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,13 @@
|
||||
<RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_marginTop="10dp">
|
||||
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/iv_traffic"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content" />
|
||||
|
||||
|
||||
</RelativeLayout>
|
||||
@@ -0,0 +1,54 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:id="@+id/routebook_child_item_info_ll"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="wrap_content"
|
||||
android:orientation="horizontal">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/index"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:visibility="gone" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/imgView"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_margin="5dp"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:src="@mipmap/routebook_icon1001" />
|
||||
|
||||
<LinearLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_gravity="center_vertical"
|
||||
android:layout_marginLeft="5dp"
|
||||
android:layout_marginRight="5dp"
|
||||
android:gravity="center_vertical"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/orientation"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingTop="5dp"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="北京市"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="24sp" />
|
||||
|
||||
<TextView
|
||||
android:id="@+id/length"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:paddingBottom="5dp"
|
||||
android:singleLine="true"
|
||||
android:text="北京市"
|
||||
android:textColor="@color/white"
|
||||
android:textSize="20sp" />
|
||||
</LinearLayout>
|
||||
</LinearLayout>
|
||||
18
libraries/mapmodule/src/main/res/layout/view_over_view.xml
Normal file
@@ -0,0 +1,18 @@
|
||||
<?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:gravity="center"
|
||||
android:orientation="vertical">
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tv_over_view"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:background="@drawable/btn_selecter_night"
|
||||
android:gravity="center"
|
||||
android:text="全貌"
|
||||
android:textColor="#B4C4D9"
|
||||
android:textSize="16sp" />
|
||||
|
||||
</LinearLayout>
|
||||
@@ -0,0 +1,15 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_traffic"
|
||||
android:layout_width="60dp"
|
||||
android:layout_height="60dp"
|
||||
android:src="@mipmap/icon_traffic_close_night"
|
||||
android:padding="10dp"
|
||||
android:background="@drawable/btn_selecter_night"/>
|
||||
</LinearLayout>
|
||||
49
libraries/mapmodule/src/main/res/layout/view_trafficbar.xml
Normal file
@@ -0,0 +1,49 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent">
|
||||
|
||||
<RelativeLayout
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_marginBottom="24dp">
|
||||
|
||||
<com.zhidaoauto.map.sdk.open.nav.view.TmcBarView
|
||||
android:id="@+id/tmcBarView"
|
||||
android:layout_width="18dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="24dp"
|
||||
android:layout_marginLeft="4dp"
|
||||
android:layout_marginRight="4dp"
|
||||
android:layout_marginTop="3dp" />
|
||||
|
||||
<View
|
||||
android:id="@+id/navi_sdk_tmc_bar_container"
|
||||
android:layout_width="20dp"
|
||||
android:layout_height="match_parent"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_marginBottom="22dp"
|
||||
android:background="@drawable/navi_tmcbar_bg" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/tmcBarCar"
|
||||
android:layout_width="22dp"
|
||||
android:layout_height="22dp"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_gravity="right"
|
||||
android:src="@mipmap/navi_tmcbar_cursor" />
|
||||
|
||||
|
||||
<TextView
|
||||
android:id="@+id/tmcBarTxt"
|
||||
android:layout_width="wrap_content"
|
||||
android:layout_height="wrap_content"
|
||||
android:layout_centerHorizontal="true"
|
||||
android:layout_alignParentBottom="true"
|
||||
android:text="全程"
|
||||
android:textSize="15sp"
|
||||
android:textColor="@color/white"/>
|
||||
</RelativeLayout>
|
||||
|
||||
</FrameLayout>
|
||||
20
libraries/mapmodule/src/main/res/layout/view_zoom.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:orientation="vertical"
|
||||
android:layout_width="match_parent"
|
||||
android:layout_height="match_parent"
|
||||
android:gravity="center">
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_zoom_in"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:src="@mipmap/icon_zoom_in_night" />
|
||||
|
||||
<ImageView
|
||||
android:id="@+id/img_zoom_out"
|
||||
android:layout_width="72dp"
|
||||
android:layout_height="72dp"
|
||||
android:src="@mipmap/icon_zoom_out_night" />
|
||||
|
||||
</LinearLayout>
|
||||
BIN
libraries/mapmodule/src/main/res/mipmap-hdpi/arrow.png
Normal file
|
After Width: | Height: | Size: 502 B |
BIN
libraries/mapmodule/src/main/res/mipmap-hdpi/bg_main.png
Normal file
|
After Width: | Height: | Size: 5.7 KiB |
|
After Width: | Height: | Size: 159 B |
BIN
libraries/mapmodule/src/main/res/mipmap-hdpi/dot.png
Normal file
|
After Width: | Height: | Size: 229 B |
BIN
libraries/mapmodule/src/main/res/mipmap-hdpi/gray_dot.png
Normal file
|
After Width: | Height: | Size: 356 B |
BIN
libraries/mapmodule/src/main/res/mipmap-hdpi/green_dot.png
Normal file
|
After Width: | Height: | Size: 374 B |