title: How to prevent Scrollview from intercepting touch?
body: <p>I have a Frame Layout. Inside the Frame layout in the lower frame i have a map fragment and in the upper frame i have Scrollview. I want the content of scrollview overlap the Map on scrolling but i also want the map to be accessible when the scrollview content hasn't overlapped the map.</p>
  
  <p>Here is my layout file </p>
  
  
  
  <pre><code>&lt;FrameLayout
   xmlns:android="http://schemas.android.com/apk/res/android"
   xmlns:app="http://schemas.android.com/apk/res-auto"
   android:layout_width="match_parent"
   android:layout_height="match_parent"
   android:fitsSystemWindows="true"&gt;
  
  
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="400dp"
  
              &gt;
  
              &lt;fragment xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:tools="http://schemas.android.com/tools"
                  xmlns:map="http://schemas.android.com/apk/res-auto"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:id="@+id/map"
                  tools:context=".MapLocationActivity"
                  android:name="com.google.android.gms.maps.SupportMapFragment"/&gt;
  
              &lt;ImageView
                  android:layout_width="wrap_content"
                  android:layout_height="wrap_content"
                  android:src="@drawable/ic_place_black_24dp"
                  android:layout_centerHorizontal="true"
                  android:layout_centerVertical="true"
                  android:clickable="false"
                  /&gt;
  
          &lt;/RelativeLayout&gt;
  
      &lt;ScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:clickable="false"
          &gt;
  
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
              android:clickable="true"
              android:layout_marginTop="300dp"
              android:background="@color/white"
              &gt;
  
                  &lt;View
                      android:layout_width="match_parent"
                      android:layout_height="50dp"
                      android:background="@color/colorPrimary"
                      /&gt;
  
  
                  &lt;EditText
                      android:id="@+id/etAdd"
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="Address"
                      /&gt;
  
                  &lt;EditText
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="Address"
                      /&gt;
  
  
                  &lt;EditText
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="Address"
                      /&gt;
  
                  &lt;EditText
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="Address"
                      /&gt;
  
                  &lt;EditText
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="Address"
                      /&gt;
  
                  &lt;EditText
                      android:layout_width="match_parent"
                      android:layout_height="wrap_content"
                      android:hint="Address"
                      /&gt;
  
              &lt;EditText
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:hint="Address"
                  /&gt;
  
              &lt;EditText
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:hint="Address"
                  /&gt;
  
          &lt;/LinearLayout&gt;
  
  
      &lt;/ScrollView&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>I want to achieve something like this</p>
  
  <p><a href="https://i.stack.imgur.com/h8PhO.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/h8PhO.jpg" alt="enter image description here"></a></p>
  
  <p><a href="https://i.stack.imgur.com/4iTua.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/4iTua.jpg" alt="enter image description here"></a></p>