summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDK/src/main/res
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2016-09-29 15:05:50 +0200
committerGitHub <noreply@github.com>2016-09-29 15:05:50 +0200
commit87a438ec75ef1e1f34be4f99225d8f1ede88a8a8 (patch)
treea06fb119e138150c8ca9857b7bd419c53bd78fb4 /platform/android/MapboxGLAndroidSDK/src/main/res
parent1fd142a4492211de9a37c11014d105dfb8ececf2 (diff)
downloadqtlocation-mapboxgl-87a438ec75ef1e1f34be4f99225d8f1ede88a8a8.tar.gz
Optionable textureview (#6480)
* [android] - make using TextureView optional * add deprecation comment on texture mode
Diffstat (limited to 'platform/android/MapboxGLAndroidSDK/src/main/res')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml3
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml3
2 files changed, 5 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml
index 1a9d1fc7bb..4f032c1008 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapview_internal.xml
@@ -4,7 +4,8 @@
<SurfaceView
android:id="@+id/surfaceView"
android:layout_width="match_parent"
- android:layout_height="match_parent" />
+ android:layout_height="match_parent"
+ android:visibility="gone" />
<FrameLayout
android:id="@+id/markerViewContainer"
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
index 1d40879d27..f0740a4e53 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
+++ b/platform/android/MapboxGLAndroidSDK/src/main/res/values/attrs.xml
@@ -111,5 +111,8 @@
<attr name="attribution_margin_bottom" format="dimension" />
<attr name="attribution_enabled" format="boolean" />
<attr name="attribution_tint" format="color" />
+
+ <!-- Deprecated to use TextureView-->
+ <attr name="texture_mode" format="boolean" />
</declare-styleable>
</resources>