From 200ba355b58b7f74c397d496bed1deff1b394582 Mon Sep 17 00:00:00 2001 From: philemonmerlet Date: Mon, 29 Oct 2018 12:09:43 +0100 Subject: Fix a crash in MapView intialization app:srcCompat should be used with AppCompatImageViews. Otherwise the image may not be set, which causes a crash in MapView initialization --- .../src/main/res/layout/mapbox_mapview_internal.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml index e7644373fd..bd3eb92081 100644 --- a/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml +++ b/platform/android/MapboxGLAndroidSDK/src/main/res/layout/mapbox_mapview_internal.xml @@ -14,7 +14,7 @@ android:layout_height="wrap_content" android:contentDescription="@string/mapbox_compassContentDescription"/> - -