diff options
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml')
-rw-r--r-- | platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml index 053da80ad..b279252c4 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml @@ -128,4 +128,51 @@ <enum name="bottom" value="3"/> </attr> </declare-styleable> + + <declare-styleable name="mapbox_LocationComponent"> + <attr name="mapbox_foregroundDrawable" format="reference"/> + <attr name="mapbox_foregroundTintColor" format="color"/> + <attr name="mapbox_backgroundDrawable" format="reference"/> + <attr name="mapbox_backgroundTintColor" format="color"/> + <attr name="mapbox_bearingDrawable" format="reference"/> + <attr name="mapbox_bearingTintColor" format="color"/> + <attr name="mapbox_gpsDrawable" format="reference"/> + + <attr name="mapbox_foregroundDrawableStale" format="reference"/> + <attr name="mapbox_foregroundStaleTintColor" format="color"/> + <attr name="mapbox_backgroundDrawableStale" format="reference"/> + <attr name="mapbox_backgroundStaleTintColor" format="color"/> + + <attr name="mapbox_accuracyAlpha" format="float"/> + <attr name="mapbox_accuracyColor" format="color"/> + + <attr name="mapbox_elevation" format="dimension"/> + + <!-- Stale state --> + <attr name="mapbox_enableStaleState" format="boolean"/> + <attr name="mapbox_staleStateTimeout" format="integer" min="0"/> + + <!-- Location icon padding --> + <attr name="mapbox_iconPaddingLeft" format="integer"/> + <attr name="mapbox_iconPaddingTop" format="integer"/> + <attr name="mapbox_iconPaddingRight" format="integer"/> + <attr name="mapbox_iconPaddingBottom" format="integer"/> + + <!-- Map layer configuration --> + <attr name="mapbox_layer_below" format="string"/> + + <!-- Map zoom levels --> + <attr name="mapbox_maxZoom" format="float"/> + <attr name="mapbox_minZoom" format="float"/> + + <!-- Icon scale based on map zoom levels --> + <attr name="mapbox_maxZoomIconScale" format="float"/> + <attr name="mapbox_minZoomIconScale" format="float"/> + + <!-- Camera tracking settings --> + <attr name="mapbox_trackingGesturesManagement" format="boolean"/> + <attr name="mapbox_trackingInitialMoveThreshold" format="dimension"/> + <attr name="mapbox_trackingMultiFingerMoveThreshold" format="dimension"/> + + </declare-styleable> </resources> |