diff options
author | tobrun <tobrun.van.nuland@gmail.com> | 2019-03-13 09:31:26 +0100 |
---|---|---|
committer | Tobrun <tobrun@mapbox.com> | 2019-03-21 21:25:43 +0100 |
commit | 1229b80a8c271e10795c07347d10f512d2abdb9a (patch) | |
tree | 68e7b6a47873e0920db68846ea7c1241fd36947c /platform/android/MapboxGLAndroidSDKTestApp/src/main/res/layout/activity_pixel_test.xml | |
parent | 1388f3a502220b32b7eb00ad57e6c048e99b9fcd (diff) | |
download | qtlocation-mapboxgl-1229b80a8c271e10795c07347d10f512d2abdb9a.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.xml | 16 |
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> |