地图模块代码更新3.0.0
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>
|
||||