summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Paczos <lukasz.paczos@mapbox.com>2018-06-07 18:17:57 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2018-06-11 12:45:59 +0200
commit83dba74dd243802607ef865833fc603ccf311886 (patch)
tree454fa27b7260df5203485330b36603b053a3abba
parenta38f490a2914886705258155c572131b6bd40ee2 (diff)
downloadqtlocation-mapboxgl-83dba74dd243802607ef865833fc603ccf311886.tar.gz
[android] - cleanup attrs
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml24
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml15
2 files changed, 4 insertions, 35 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml b/platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml
index fda37dc2df..9ab8d34ef3 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res-public/values/public.xml
@@ -16,7 +16,7 @@
<!--Camera-->
<public name="mapbox_cameraTargetLng" type="attr" />
<public name="mapbox_cameraTargetLat" type="attr" />
- <public name="mapbox_cameraZoom_level" type="attr" />
+ <public name="mapbox_cameraZoom" type="attr" />
<public name="mapbox_cameraBearing" type="attr" />
<public name="mapbox_cameraTilt" type="attr" />
@@ -29,24 +29,11 @@
<public name="mapbox_uiScrollGestures" type="attr" />
<public name="mapbox_uiRotateGestures" type="attr" />
<public name="mapbox_uiTiltGestures" type="attr" />
+ <public name="mapbox_uiDoubleTapGestures" type="attr" />
<!--UI-Controls-->
<public name="mapbox_uiZoomControls" type="attr" />
- <!--MyLocation-->
- <public name="mapbox_myLocation" type="attr" />
- <public name="mapbox_myLocationTintColor" type="attr" />
- <public name="mapbox_myLocationDrawable" type="attr" />
- <public name="mapbox_myLocationBearingDrawable" type="attr" />
- <public name="mapbox_myLocationBackgroundDrawable" type="attr" />
- <public name="mapbox_myLocationBackgroundTintColor" type="attr" />
- <public name="mapbox_myLocationBackgroundMarginLeft" type="attr" />
- <public name="mapbox_myLocationBackgroundMarginTop" type="attr" />
- <public name="mapbox_myLocationBackgroundMarginRight" type="attr" />
- <public name="mapbox_myLocationBackgroundMarginBottom" type="attr" />
- <public name="mapbox_myLocationAccuracyTintColor" type="attr" />
- <public name="mapbox_myLocationAccuracyAlpha" type="attr" />
-
<!--Compass-->
<public name="mapbox_uiCompass" type="attr" />
<public name="mapbox_uiCompassGravity" type="attr" />
@@ -72,6 +59,7 @@
<public name="mapbox_uiAttributionMarginTop" type="attr" />
<public name="mapbox_uiAttributionMarginRight" type="attr" />
<public name="mapbox_uiAttributionMarginBottom" type="attr" />
+ <public name="mapbox_uiAttributionTintColor" type="attr" />
<!-- Use TextureView-->
<public name="mapbox_renderTextureMode" type="attr" />
@@ -96,7 +84,6 @@
<!-- Exposed strings -->
<public name="mapbox_compassContentDescription" type="string" />
<public name="mapbox_attributionsIconContentDescription" type="string" />
- <public name="mapbox_myLocationViewContentDescription" type="string" />
<public name="mapbox_mapActionDescription" type="string" />
<public name="mapbox_attributionsDialogTitle" type="string" />
<public name="mapbox_attributionTelemetryTitle" type="string" />
@@ -104,7 +91,7 @@
<public name="mapbox_attributionTelemetryPositive" type="string" />
<public name="mapbox_attributionTelemetryNegative" type="string" />
<public name="mapbox_attributionTelemetryNeutral" type="string" />
- <public name="mapbox_telemetrySettings" type="string"/>
+ <public name="mapbox_telemetrySettings" type="string" />
<public name="mapbox_offline_error_region_definition_invalid" type="string" />
<!-- Exposed drawables -->
@@ -114,10 +101,7 @@
<public name="mapbox_info_bg_selector" type="drawable" />
<public name="mapbox_info_icon_default" type="drawable" />
<public name="mapbox_info_icon_selected" type="drawable" />
- <public name="mapbox_mylocation_icon_default" type="drawable" />
- <public name="mapbox_mylocation_icon_bearing" type="drawable" />
<!-- Exposed colors -->
- <public name="mapbox_mylocation_ring" type="color" />
<public name="mapbox_blue" type="color" />
</resources>
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
index f0b80e46e1..0f7e0563f7 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
@@ -28,21 +28,6 @@
<!--UI-Controls-->
<attr name="mapbox_uiZoomControls" format="boolean"/>
- <!--MyLocation-->
- <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"/>
- <attr name="mapbox_myLocationAccuracyThreshold" format="float"/>
-
<!--Compass-->
<attr name="mapbox_uiCompass" format="boolean"/>
<attr name="mapbox_uiCompassGravity">