原因:
在viewpager中的fragment中顯示高德地圖的MapView時(shí)堕汞,左右滑動(dòng)或者點(diǎn)擊時(shí)躁劣,從其他的fragment到有mapview的fragment時(shí)會(huì)出現(xiàn)黑邊框。
解決方法:
MapView改成TextureMapView
<com.amap.api.maps.TextureMapView android:id="@+id/map" android:layout_width="fill_parent" android:layout_height="fill_parent" />
只是記錄工作中遇到的問題邮屁,歡迎指正整袁。