80 lines
3.6 KiB
XML
80 lines
3.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<resources>
|
|
|
|
<!--
|
|
Declare custom theme attributes that allow changing which styles are
|
|
used for button bars depending on the API level.
|
|
?android:attr/buttonBarStyle is new as of API 11 so this is
|
|
necessary to support previous API levels.
|
|
-->
|
|
<declare-styleable name="ButtonBarContainerTheme">
|
|
<attr name="buttonBarStyle" format="reference" />
|
|
<attr name="buttonBarButtonStyle" format="reference" />
|
|
</declare-styleable>
|
|
|
|
|
|
<declare-styleable name="MapAutoView">
|
|
<attr name="zoom" format="integer" />
|
|
<attr name="carPosition" format="float" />
|
|
<attr name="isAutoSwitch" format="boolean" />
|
|
<attr name="isAutoLocation" format="boolean" />
|
|
<attr name="styleMode" format="integer">
|
|
<enum name="MAP_STYLE_DAY" value="0" />
|
|
<enum name="MAP_STYLE_NIGHT" value="1" />
|
|
<enum name="MAP_STYLE_NIGHT_VR" value="5" />
|
|
<enum name="MAP_STYLE_DAY_VR" value="6" />
|
|
<enum name="MAP_STYLE_DAY_VR_BUS" value="7" />
|
|
<enum name="MAP_STYLE_DAY_VR_TAXI" value="8" />
|
|
</attr>
|
|
|
|
<attr name="perspectiveMode" format="integer">
|
|
|
|
<enum name="MAP_PERSPECTIVE_2D" value="1" />
|
|
<enum name="MAP_PERSPECTIVE_3D" value="2" />
|
|
<enum name="MAP_PERSPECTIVE_UP_NORTH" value="3" />
|
|
<enum name="MAP_PERSPECTIVE_UP_CAR" value="4" />
|
|
|
|
|
|
</attr>
|
|
<attr name="vrPerspectiveMode" format="float" />
|
|
<attr name="vrAngleMode" format="integer" >
|
|
<enum name="MAP_STYLE_VR_ANGLE_NEAR" value="0" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_MIDDLE" value="1" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_FAR" value="2" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_300" value="3" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_TOP" value="4" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_CROSS" value="5" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_MIDDLE_XIAOBA" value="6" />
|
|
<enum name="MAP_STYLE_VR_ROAM" value="7" />
|
|
<enum name="MAP_STYLE_VR_TRANS" value="8" />
|
|
<enum name="MAP_STYLE_VR_ERHAI_B2" value="9" />
|
|
<enum name="MAP_STYLE_VR_SKY_BOX" value="10" />
|
|
</attr>
|
|
<attr name="isSwitchViewAngle" format="boolean" />
|
|
<attr name="vrEyeHeight" format="float" />
|
|
<attr name="zoomVal" format="float" />
|
|
<attr name="minDistanceForPosition" format="float" />
|
|
<attr name="isShadowEnable" format="boolean" />
|
|
<attr name="styleName" format="string" />
|
|
<attr name="default_perspective" format="integer" >
|
|
<enum name="MAP_STYLE_VR_ANGLE_NEAR" value="0" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_MIDDLE" value="1" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_FAR" value="2" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_300" value="3" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_TOP" value="4" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_CROSS" value="5" />
|
|
<enum name="MAP_STYLE_VR_ANGLE_MIDDLE_XIAOBA" value="6" />
|
|
<enum name="MAP_STYLE_VR_ROAM" value="7" />
|
|
<enum name="MAP_STYLE_VR_TRANS" value="8" />
|
|
<enum name="MAP_STYLE_VR_ERHAI_B2" value="9" />
|
|
<enum name="MAP_STYLE_VR_SKY_BOX" value="10" />
|
|
</attr>
|
|
<attr name="isSkyBoxEnable" format="boolean" />
|
|
<attr name="isWeatherEnable" format="boolean" />
|
|
<attr name="locationIcon3DRes" format="integer" />
|
|
<attr name="locationIconRes" format="integer" />
|
|
<attr name="isDisplayAnim" format="boolean" />
|
|
</declare-styleable>
|
|
|
|
</resources>
|