[android] - rename attributes (#6894)

This commit is contained in:
Tobrun
2016-11-07 09:37:43 +01:00
committed by GitHub
parent c5992d71f5
commit ee073f6b96
31 changed files with 259 additions and 239 deletions

View File

@@ -3,48 +3,47 @@
<declare-styleable name="mapbox_MapView">
<!--Configuration-->
<attr name="mapbox_access_token" format="string" />
<attr name="mapbox_style_url" format="string" />
<attr name="mapbox_api_base_url" format="string" />
<attr name="mapbox_accessToken" format="string" />
<attr name="mapbox_styleUrl" format="string" />
<attr name="mapbox_apiBaseUrl" format="string" />
<!--Camera-->
<attr name="mapbox_center_longitude" format="float" />
<attr name="mapbox_center_latitude" format="float" />
<attr name="mapbox_zoom" format="float" />
<attr name="mapbox_direction" format="float" />
<attr name="mapbox_tilt" format="float" />
<attr name="mapbox_cameraTargetLat" format="float" />
<attr name="mapbox_cameraTargetLng" format="float" />
<attr name="mapbox_cameraZoom" format="float" />
<attr name="mapbox_cameraBearing" format="float" />
<attr name="mapbox_cameraTilt" format="float" />
<!--Zoom-->
<attr name="mapbox_zoom_max" format="float" />
<attr name="mapbox_zoom_min" format="float" />
<attr name="mapbox_cameraZoomMax" format="float" />
<attr name="mapbox_cameraZoomMin" format="float" />
<!--Gestures-->
<attr name="mapbox_zoom_enabled" format="boolean" />
<attr name="mapbox_scroll_enabled" format="boolean" />
<attr name="mapbox_rotate_enabled" format="boolean" />
<attr name="mapbox_tilt_enabled" format="boolean" />
<attr name="mapbox_debug_active" format="boolean" />
<attr name="mapbox_uiZoomGestures" format="boolean" />
<attr name="mapbox_uiScrollGestures" format="boolean" />
<attr name="mapbox_uiRotateGestures" format="boolean" />
<attr name="mapbox_uiTiltGestures" format="boolean" />
<!--UI-Controls-->
<attr name="mapbox_zoom_controls_enabled" format="boolean" />
<attr name="mapbox_uiZoomControls" format="boolean" />
<!--MyLocation-->
<attr name="mapbox_my_location_enabled" format="boolean" />
<attr name="mapbox_my_location_foreground" format="reference" />
<attr name="mapbox_my_location_foreground_bearing" format="reference" />
<attr name="mapbox_my_location_foreground_tint" format="color" />
<attr name="mapbox_my_location_background" format="reference" />
<attr name="mapbox_my_location_background_tint" format="color" />
<attr name="mapbox_my_location_background_left" format="dimension" />
<attr name="mapbox_my_location_background_top" format="dimension" />
<attr name="mapbox_my_location_background_right" format="dimension" />
<attr name="mapbox_my_location_background_bottom" format="dimension" />
<attr name="mapbox_my_location_accuracy_tint" format="color" />
<attr name="mapbox_my_location_accuracy_alpha" format="integer" />
<attr name="mapbox_myLocation" format="boolean" />
<attr name="mapbox_myLocationTintColor" format="color" />
<attr name="mapbox_myLocationDrawable" format="reference" />
<attr name="mapbox_myLocationBearingDrawable" format="reference" />
<attr name="mapbox_myLocationBackgroundDrawable" format="reference" />
<attr name="mapbox_myLocationBackgroundTintColor" format="color" />
<attr name="mapbox_myLocationBackgroundMarginLeft" format="dimension" />
<attr name="mapbox_myLocationBackgroundMarginTop" format="dimension" />
<attr name="mapbox_myLocationBackgroundMarginRight" format="dimension" />
<attr name="mapbox_myLocationBackgroundMarginBottom" format="dimension" />
<attr name="mapbox_myLocationAccuracyTintColor" format="color" />
<attr name="mapbox_myLocationAccuracyAlpha" format="integer" />
<!--Compass-->
<attr name="mapbox_compass_enabled" format="boolean" />
<attr name="mapbox_compass_gravity">
<attr name="mapbox_uiCompass" format="boolean" />
<attr name="mapbox_uiCompassGravity">
<flag name="top" value="0x30" />
<flag name="bottom" value="0x50" />
<flag name="left" value="0x03" />
@@ -60,14 +59,15 @@
<flag name="start" value="0x00800003" />
<flag name="end" value="0x00800005" />
</attr>
<attr name="mapbox_compass_margin_left" format="dimension" />
<attr name="mapbox_compass_margin_top" format="dimension" />
<attr name="mapbox_compass_margin_right" format="dimension" />
<attr name="mapbox_compass_margin_bottom" format="dimension" />
<attr name="mapbox_compass_fade_facing_north" format="boolean" />
<attr name="mapbox_uiCompassMarginLeft" format="dimension" />
<attr name="mapbox_uiCompassMarginTop" format="dimension" />
<attr name="mapbox_uiCompassMarginRight" format="dimension" />
<attr name="mapbox_uiCompassMarginBottom" format="dimension" />
<attr name="mapbox_uiCompassFadeFacingNorth" format="boolean" />
<!--Logo-->
<attr name="mapbox_logo_gravity">
<attr name="mapbox_uiLogo" format="boolean" />
<attr name="mapbox_uiLogoGravity">
<flag name="top" value="0x30" />
<flag name="bottom" value="0x50" />
<flag name="left" value="0x03" />
@@ -83,14 +83,14 @@
<flag name="start" value="0x00800003" />
<flag name="end" value="0x00800005" />
</attr>
<attr name="mapbox_logo_margin_left" format="dimension" />
<attr name="mapbox_logo_margin_top" format="dimension" />
<attr name="mapbox_logo_margin_right" format="dimension" />
<attr name="mapbox_logo_margin_bottom" format="dimension" />
<attr name="mapbox_logo_enabled" format="boolean" />
<attr name="mapbox_uiLogoMarginLeft" format="dimension" />
<attr name="mapbox_uiLogoMarginTop" format="dimension" />
<attr name="mapbox_uiLogoMarginRight" format="dimension" />
<attr name="mapbox_uiLogoMarginBottom" format="dimension" />
<!--Attribution-->
<attr name="mapbox_attribution_gravity">
<attr name="mapbox_uiAttribution" format="boolean" />
<attr name="mapbox_uiAttributionGravity">
<flag name="top" value="0x30" />
<flag name="bottom" value="0x50" />
<flag name="left" value="0x03" />
@@ -106,14 +106,14 @@
<flag name="start" value="0x00800003" />
<flag name="end" value="0x00800005" />
</attr>
<attr name="mapbox_attribution_margin_left" format="dimension" />
<attr name="mapbox_attribution_margin_top" format="dimension" />
<attr name="mapbox_attribution_margin_right" format="dimension" />
<attr name="mapbox_attribution_margin_bottom" format="dimension" />
<attr name="mapbox_attribution_enabled" format="boolean" />
<attr name="mapbox_attribution_tint" format="color" />
<attr name="mapbox_uiAttributionMarginLeft" format="dimension" />
<attr name="mapbox_uiAttributionMarginTop" format="dimension" />
<attr name="mapbox_uiAttributionMarginRight" format="dimension" />
<attr name="mapbox_uiAttributionMarginBottom" format="dimension" />
<attr name="mapbox_uiAttributionTintColor" format="color" />
<!-- Deprecated to use TextureView-->
<attr name="mapbox_texture_mode" format="boolean" />
<attr name="mapbox_renderTextureMode" format="boolean" />
</declare-styleable>
</resources>