title: how to show a floating view on google map just like the search bar in Google Maps
body: <p>I have implemented map successfully, but I couldn't find any help regarding this here is my implementation of google map fragment</p>
  
  <pre><code>SupportMapFragment fragment;
      private GoogleMap map;
      FragmentManager fm;
  
  @Override
      public void onActivityCreated(Bundle savedInstanceState) {
          super.onActivityCreated(savedInstanceState);
          FragmentManager fm = getChildFragmentManager();
          fragment = (SupportMapFragment) fm.findFragmentById(R.id.mapLarge);
          if (fragment == null) {
              fragment = SupportMapFragment.newInstance();
              fragment.setRetainInstance(true);
              fm.beginTransaction().replace(R.id.mapLarge, fragment).commit();
  
          }
  
      }
  
  @Override
      public void onResume() {
          // TODO Auto-generated method stub
          super.onResume();
          if (map == null) {
              System.out.println("map is null");
              map = fragment.getMap();
    }
  </code></pre>
  
  <p>I am adding map fragment programatically (a work around to show mapview in Actionbar.Tab)
  any help will be appreciated !</p>