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 based on SurfaceView. The problem is that the SurfaceView doesn't like moving it around - I mean placing it in movable views:
ViewPager,ScrollView,ListView,- or the aforementioned
SlidingMenu.
When you move it, it leaves a black hole in the place where its pixels originally layed. It looks something like this.
This problem can be partially solved by specifying a transparent background on the SurfaceView or even placing a transparent View over it. I just can't figure if only for me the results are unacceptable, or if I have a different problem which makes it look how it looks.
To see how it looks, please watch THIS VIDEO.
(sorry for the quality, but the problem can be seen easily anyway)
When a normal listview (the orange screen) is pulled away while opening SlidingMenu, the animation is smooth and nice. But as soon as the MapFragment appears, there's some weird refreshing/flickering/synchronization issue on the map.
Tested on HTC One S and Samsung Galaxy ACE.