Moving MapFragment (SurfaceView) causes black background flickering

后端 未结 16 1423
误落风尘
误落风尘 2020-12-04 09:32

I\'m trying to implement new Android Google Maps API (v2). However it doesn\'t seem to go well with SlidingMenu. As you may know, MapFragment implementation is

16条回答
  •  醉酒成梦
    2020-12-04 10:05

    This worked for me... Add map:zOrderOnTop="true" to your fragment as this...

    
    

    Remember to add this to your parent ScrollView

    xmlns:map="http://schemas.android.com/apk/res-auto"
    

提交回复
热议问题