how to set google map fragment inside scroll view

i want to set a google map fragment inside vertical scroll view, when i do the map does not zoom in vertically and horizontally, how can i override the listener of touching map view over the listener of scroll view?

this is my xml code:

  <ScrollView  android:layout_height="wrap_content"
    android:layout_width="fill_parent"
     android:layout_above="@id/footer"
    android:layout_below="@id/title_horizontalScrollView">

   ///other things



<fragment 
    android:id="@+id/map"
    android:layout_width="fill_parent"
    android:layout_height="300dp"

    class="com.google.android.gms.maps.SupportMapFragment"
    />

  //other things


Source: android

Leave a Reply