title: ViewPager with Google Maps API v2: mysterious black view
body: <p>I have integrated the new google maps api v2 fragment in a view pager. When scrolling from the map fragment, a black view overlaps the adjacent fragments. Someone has solved?</p>
  
  <p>Edit: screenshot</p>
  
  <p><img src="https://i.stack.imgur.com/WpWkz.jpg" alt="enter image description here"></p>
  
  <pre><code>public static class PagerAdapter extends FragmentPagerAdapter{
  
      public PagerAdapter(FragmentManager fm) {
          super(fm);
      }
  
      @Override
      public int getCount() {
          return NUM_ITEMS;
      }
  
      @Override
      public Fragment getItem(int position) {
  
          Fragment pageFragment;
  
          switch (position) {
          case 0:
              pageFragment = new TabAFragment();
              break;
  
          case 1:
              pageFragment = new TabBFragment();
              break;
  
          case 2:
              pageFragment = SupportMapFragment.newInstance();
              break;
  
          default:
              pageFragment = null;
              break;
          }
  
          return pageFragment;
      }
  }
  </code></pre>