1

SupportMapfragment fault in a viewpage

view story
linux-howto

http://stackoverflow.com – i have a problem by swiping between two fragments. one fragment should display a google map v2 and the other one should display only a picture. its still working but the fault is, that the supportmapfragment is displayed twice. once fix in the background and a moveable in the foreground. that means that fragment A shows the map twice and when i swipe to fragment B, it displays both fragments. for a better overview i uploaded a screenshot when i swipe from left to right. i am not sure, what i am doing wrong. here is the code. The Fragmentactivity: public class MainActivity extends FragmentA (HowTos)