title: How to transfer click event to button below Gridview?
body: <p>I have tried everything but I am not getting the idea how to do it?</p>
  
  <p>I have a gridview which is overlapping a button and when I click on the button the click event is not getting transferred to the button because gridview is overlapping it. I can't put button above the gridview because it will ruin the design is there any way to achieve it. This diagram would explain better.
  <a href="https://i.stack.imgur.com/TerS7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TerS7.png" alt="enter image description here"></a></p>
  
  <p>here is my xml code I don't think sharing java code would make sense.</p>
  
  <pre><code> &lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
                  xmlns:tools="http://schemas.android.com/tools"
                  android:id="@+id/browser_sub_drawer_parent"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  &gt;
  
      &lt;android.support.v4.widget.DrawerLayout
          android:id="@+id/browser_sub_drawer_root"
          android:layout_width="match_parent"
          android:layout_height="match_parent"&gt;
  
          &lt;RelativeLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"&gt;
  
              &lt;RelativeLayout
                  android:id="@+id/browser_sub_header_layout"
                  android:layout_width="match_parent"
                  android:layout_height="340dp"
                  android:layout_alignParentTop="true"
                  android:visibility="invisible"&gt;
  
                  &lt;ImageView
                      android:id="@+id/browser_sub_header_image"
                      android:layout_width="match_parent"
                      android:layout_height="340dp"
                      android:adjustViewBounds="true"
                      android:background="@drawable/black_to_transparent_gradient"
                      android:scaleType="centerCrop"/&gt;
  
                  &lt;RelativeLayout
                      android:id="@+id/browser_sub_header_text_layout"
                      android:layout_width="match_parent"
                      android:layout_height="80dp"
                      android:layout_alignParentBottom="true"
                      android:layout_marginBottom="60dp"
                      android:background="@drawable/black_to_transparent_gradient"&gt;
  
                      &lt;TextView
                          android:id="@+id/browser_sub_header_text"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:layout_alignParentTop="true"
                          android:layout_marginRight="120dp"
                          android:layout_marginTop="15dp"
                          android:ellipsize="marquee"
                          android:marqueeRepeatLimit="marquee_forever"
                          android:paddingLeft="12dp"
                          android:paddingRight="12dp"
                          android:scrollHorizontally="true"
                          android:shadowColor="#FF454545"
                          android:shadowDx="0"
                          android:shadowDy="0"
                          android:shadowRadius="5"
                          android:singleLine="true"
                          android:text="Header Text"
                          android:textColor="#FFFFFF"
                          android:textSize="24sp"/&gt;
  
                      &lt;TextView
                          android:id="@+id/browser_sub_header_sub_text"
                          android:layout_width="match_parent"
                          android:layout_height="wrap_content"
                          android:layout_below="@+id/browser_sub_header_text"
                          android:layout_marginRight="120dp"
                          android:ellipsize="marquee"
                          android:marqueeRepeatLimit="marquee_forever"
                          android:paddingLeft="12dp"
                          android:paddingRight="12dp"
                          android:scrollHorizontally="true"
                          android:shadowColor="#FF454545"
                          android:shadowDx="0"
                          android:shadowDy="0"
                          android:shadowRadius="5"
                          android:singleLine="true"
                          android:text="Subtext"
                          android:textColor="#FF999999"
                          android:textSize="16sp"/&gt;
  
                      &lt;TextView
                          android:id="@+id/browser_sub_play_all"
                          android:layout_width="wrap_content"
                          android:layout_height="wrap_content"
                          android:layout_alignParentRight="true"
                          android:layout_centerVertical="true"
                          android:layout_marginRight="25dp"
                          android:background="?android:selectableItemBackground"
                          android:padding="5dp"
                          android:text="@string/play_all_caps"
                          android:textColor="#FFFFFF"
                          android:textSize="12sp"/&gt;
  
                  &lt;/RelativeLayout&gt;
  
                  &lt;RelativeLayout
                      android:layout_width="match_parent"
                      android:layout_height="60dp"
                      android:layout_alignParentBottom="true"
                      android:background="#BB000000"/&gt;
  
              &lt;/RelativeLayout&gt;
  
              &lt;GridView
                  android:id="@+id/browser_sub_grid_view"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:layout_alignParentLeft="true"
                  android:layout_alignParentStart="true"
                  android:layout_alignParentTop="true"
                  android:clickable="false"
                  android:drawSelectorOnTop="true"
                  android:focusable="false"
                  android:horizontalSpacing="3.5dp"
                  android:paddingBottom="6dp"
                  android:paddingLeft="6dp"
                  android:paddingRight="6dp"
                  android:paddingTop="280dp"
                  android:verticalSpacing="3.5dp"/&gt;
  
          &lt;/RelativeLayout&gt;
  
  
      &lt;/android.support.v4.widget.DrawerLayout&gt;
  
  &lt;/RelativeLayout&gt;
  </code></pre>
  
  <p>Please note gridview covers the whole screen I have given top padding.
  Thanks in advance.</p>