[android] - create device independent tests for camera position testing

This commit is contained in:
tobrun
2018-07-04 12:47:08 +02:00
committed by Tobrun
parent ec78936e18
commit 32dce870d7
17 changed files with 210 additions and 108 deletions

View File

@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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">
<!-- TODO remove zoom #6747-->
<com.mapbox.mapboxsdk.maps.MapView
android:id="@id/mapView"
<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"
android:layout_below="@id/toolbar"
app:mapbox_cameraZoom="1"/>
android:layout_height="match_parent">
</RelativeLayout>
<com.mapbox.mapboxsdk.maps.MapView
android:layout_gravity="center"
android:id="@id/mapView"
android:layout_width="512px"
android:layout_height="512px"
app:mapbox_pixelRatio="1"
app:mapbox_cameraZoom="1"/>
</FrameLayout>

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="utf-8"?>
<RelativeLayout
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:id="@id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:layout_below="@id/toolbar"
app:mapbox_cameraZoom="1"/>
</RelativeLayout>