title: Google Map inside a fragment with custom layout
body: <p>What is my best option to get google map in a fragment with custom lay out?</p>
  
  <p>I am trying to use GoogleMapsV2 for one of the fragment(tab). The fragment would have some buttons and the google map in the background with markers. So the view would look some thing like <a href="http://www.androidtapp.com/wp-content/uploads/2009/08/CardioTrainer-Map.jpg" rel="nofollow">http://www.androidtapp.com/wp-content/uploads/2009/08/CardioTrainer-Map.jpg</a> (Mine would be lot simpler than that though)</p>
  
  <p>After googling ,overflowing the stack extensively and experimenting this is what I understood
  1.I can use SupportMapFragment in my fragment (I tried it works. But too bad I am not able to get my custom buttons)</p>
  
  <p>2.I can use MapFragment with higher SDK (sdk 12). I dont mind loosing backward compatibility. 
  But this option looks wrong as my FragmentPagerAdapter expects that I return a Fragment and not MapFragment</p>
  
  <p>Looks like there is no easy/standard method to get this done 
  I need some help in moving in the right direction. I am a new self taught android developer. So bear with me if I miss the basics here.  I can post the code if that helps. However I am looking for help in understanding the direction to go in rather than help in direct code. Thanks for looking</p>