summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml
diff options
context:
space:
mode:
authortobrun <tobrun.van.nuland@gmail.com>2019-03-13 09:31:26 +0100
committerTobrun <tobrun@mapbox.com>2019-03-25 15:22:29 +0100
commit3c15bb5c6cd20fb03e708eb9ca2bd9f5ee90092f (patch)
tree6d9719434aedffe557fbf0f0643bc167652c758e /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml
parent7dea381161006e00b007ab01e491acc7166bd075 (diff)
downloadqtlocation-mapboxgl-3c15bb5c6cd20fb03e708eb9ca2bd9f5ee90092f.tar.gz
[android] - introduce Pixel dimension instrumentation test
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml
new file mode 100644
index 0000000000..4c88a87703
--- /dev/null
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="utf-8"?>
+<FrameLayout
+ xmlns:android="http://schemas.android.com/apk/res/android"
+ xmlns:app="http://schemas.android.com/apk/res-auto"
+ android:layout_width="match_parent"
+ android:layout_height="match_parent">
+
+ <com.mapbox.mapboxsdk.maps.MapView
+ android:layout_gravity="center"
+ android:id="@id/mapView"
+ app:mapbox_cameraZoom="1"
+ android:layout_width="1080px"
+ android:layout_height="1920px"
+ app:mapbox_pixelRatio="1"/>
+
+</FrameLayout>