diff options
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/res/values')
3 files changed, 6 insertions, 10 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml index 9206899dd6..62cc066bd6 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml @@ -129,7 +129,7 @@ </attr> </declare-styleable> - <declare-styleable name="mapbox_LocationLayer"> + <declare-styleable name="mapbox_LocationComponent"> <attr name="mapbox_foregroundDrawable" format="reference"/> <attr name="mapbox_foregroundTintColor" format="color"/> <attr name="mapbox_backgroundDrawable" format="reference"/> diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml index 9bf77d46d9..453079d195 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/dimens.xml @@ -16,6 +16,6 @@ <!--Minimum angular velocity required to start rotation animation--> <dimen name="mapbox_minimum_angular_velocity">0.025dp</dimen> - <dimen name="mapbox_locationLayerTrackingInitialMoveThreshold">25dp</dimen> - <dimen name="mapbox_locationLayerTrackingMultiFingerMoveThreshold">125dp</dimen> + <dimen name="mapbox_locationComponentTrackingInitialMoveThreshold">25dp</dimen> + <dimen name="mapbox_locationComponentTrackingMultiFingerMoveThreshold">125dp</dimen> </resources> diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml index 40bf1540ab..ac29065f24 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/styles.xml @@ -1,7 +1,7 @@ <?xml version="1.0" encoding="utf-8"?> <resources> - <style name="mapbox_LocationLayer"> + <style name="mapbox_LocationComponent"> <item name="mapbox_foregroundDrawable">@drawable/mapbox_user_icon</item> <item name="mapbox_backgroundDrawable">@drawable/mapbox_user_stroke_icon</item> <item name="mapbox_bearingDrawable">@drawable/mapbox_user_bearing_icon</item> @@ -34,12 +34,8 @@ <item name="mapbox_minZoomIconScale">0.6</item> <!-- Camera tracking settings --> - <item name="mapbox_trackingInitialMoveThreshold"> - @dimen/mapbox_locationLayerTrackingInitialMoveThreshold - </item> - <item name="mapbox_trackingMultiFingerMoveThreshold"> - @dimen/mapbox_locationLayerTrackingMultiFingerMoveThreshold - </item> + <item name="mapbox_trackingInitialMoveThreshold">@dimen/mapbox_locationComponentTrackingInitialMoveThreshold</item> + <item name="mapbox_trackingMultiFingerMoveThreshold">@dimen/mapbox_locationComponentTrackingMultiFingerMoveThreshold</item> </style> </resources>
\ No newline at end of file |