summaryrefslogtreecommitdiff
path: root/platform/android/MapboxGLAndroidSDKTestApp/src/debug
diff options
context:
space:
mode:
authorŁukasz Paczos <lukas.paczos@gmail.com>2018-09-03 21:51:43 +0200
committerŁukasz Paczos <lukasz.paczos@mapbox.com>2018-09-12 13:59:11 +0200
commit465316b4cef4b0d4630d855a789f5b6acef2084e (patch)
treec101b9386531ed47463127f4ae0ecba7d5ea6621 /platform/android/MapboxGLAndroidSDKTestApp/src/debug
parentcb771f6aca2ef3cd0d1bf686139e18ce7cc0e233 (diff)
downloadqtlocation-mapboxgl-465316b4cef4b0d4630d855a789f5b6acef2084e.tar.gz
[android] adapt LocationLayerPlugin's test suite
Diffstat (limited to 'platform/android/MapboxGLAndroidSDKTestApp/src/debug')
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/debug/java/com/mapbox/mapboxsdk/testapp/activity/SingleActivity.java4
-rw-r--r--platform/android/MapboxGLAndroidSDKTestApp/src/debug/res/layout/activity_single.xml2
2 files changed, 5 insertions, 1 deletions
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/debug/java/com/mapbox/mapboxsdk/testapp/activity/SingleActivity.java b/platform/android/MapboxGLAndroidSDKTestApp/src/debug/java/com/mapbox/mapboxsdk/testapp/activity/SingleActivity.java
index 3c7812f9b1..5daea88ba0 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/debug/java/com/mapbox/mapboxsdk/testapp/activity/SingleActivity.java
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/debug/java/com/mapbox/mapboxsdk/testapp/activity/SingleActivity.java
@@ -18,6 +18,10 @@ public class SingleActivity extends AppCompatActivity {
mapView.onCreate(savedInstanceState);
}
+ public MapView getMapView() {
+ return mapView;
+ }
+
@Override
protected void onStart() {
super.onStart();
diff --git a/platform/android/MapboxGLAndroidSDKTestApp/src/debug/res/layout/activity_single.xml b/platform/android/MapboxGLAndroidSDKTestApp/src/debug/res/layout/activity_single.xml
index d7dfcf2dd0..f7e3d1f8ec 100644
--- a/platform/android/MapboxGLAndroidSDKTestApp/src/debug/res/layout/activity_single.xml
+++ b/platform/android/MapboxGLAndroidSDKTestApp/src/debug/res/layout/activity_single.xml
@@ -8,6 +8,6 @@
android:id="@+id/mapView"
android:layout_width="match_parent"
android:layout_height="match_parent"
- app:mapbox_cameraZoom="2.0" />
+ app:mapbox_cameraZoomMin="2.0" />
</RelativeLayout> \ No newline at end of file