summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/item_map.xml
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2018-10-18 12:12:07 +0200
committerTobrun <tobrun@mapbox.com>2018-11-14 16:25:10 +0100
commit16c4c9a45c3018d0c9359776b127712e8d1bf416 (patch)
tree9e833f626c348b559633e9a02b779489e56b4a28 /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/item_map.xml
parent34e4ae8d41e7b50fab7130e465ca855fade58507 (diff)
downloadqtlocation-mapboxgl-16c4c9a45c3018d0c9359776b127712e8d1bf416.tar.gz
[android] - example with recyclerview
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/item_map.xml')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/item_map.xml12
1 files changed, 12 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/item_map.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/item_map.xml
new file mode 100644
index 0000000000..c4c17a25ff
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/item_map.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="utf-8"?>
+<com.mapbox.mapboxsdk.maps.MapView
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:id="@id/mapView"
+ android:layout_width="match_parent"
+ android:layout_height="256dp"
+ app:mapbox_cameraTargetLat="45.38301927899065"
+ app:mapbox_cameraTargetLng="8.63525390625"
+ app:mapbox_renderTextureMode="true"
+ app:mapbox_cameraZoom="7"
+ app:mapbox_styleUrl="@string/mapbox_style_mapbox_streets"/>