【发布时间】:2017-11-03 10:33:53
【问题描述】:
在主布局中,我在滚动视图中使用了 MapFragment。起初一切似乎都很完美,但是当我开始在滚动视图中滚动时,地图出现问题,地图闪烁并显示背景活动布局,低于 4.4 显示主屏幕布局。见下面是 XML 代码。
<fragment xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_width="match_parent"
android:layout_height="150dp"/>
【问题讨论】:
标签: google-maps android-fragments scrollview android-scrollview supportmapfragment