它出现在 Android Studio
仿真器 MapView
但不是在我的手机上(华为mate 10 lite)。原因是什么?
<LinearLayout
android:id="@+id/chats_fragment_layout"
android:layout_width="200dp"
android:layout_height="100dp"
android:visibility="gone">
<com.google.android.gms.maps.MapView
android:id="@+id/chats_map_view"
xmlns:map="http://schemas.android.com/apk/res-auto"
android:layout_width="200dp"
android:layout_height="100dp"
map:liteMode="true"
map:mapType="normal"
map:cameraZoom="15"/>
</LinearLayout>
holder.chatsShowMessage?.visibility = View.GONE
holder.chatsFilePdfDocLinearLayout?.visibility = View.GONE
holder.chatsImageView?.visibility = View.GONE
holder.chatsFragmentLayout?.visibility = View.VISIBLE
sendLocationLat = chat.latitude.toDouble()
sendLocationLng = chat.longitude.toDouble()
chatsMapView = holder.chatsMapView
暂无答案!
目前还没有任何答案,快来回答吧!