<?xml version="1.0" encoding="utf-8"?> <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android" xmlns:mapbox="http://schemas.android.com/apk/res-auto" android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.qmuiteam.qmui.widget.QMUITopBarLayout android:id="@+id/mapTopLayout" android:layout_width="match_parent" android:layout_height="wrap_content" android:fitsSystemWindows="true" /> <LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:orientation="vertical"> <com.mapbox.mapboxsdk.maps.MapView android:id="@+id/mapBoxView" android:layout_width="match_parent" android:layout_height="match_parent" mapbox:mapbox_cameraTargetLat="39.91435564744717" mapbox:mapbox_cameraTargetLng="116.26274417954977" mapbox:mapbox_cameraTilt="20" mapbox:mapbox_cameraZoom="12" /> </LinearLayout> </LinearLayout>