title: android admob adeed of the screen but hides other buttons inside a ScrollView
body: <p>I am trying to add admob at the bottom of my screen.It showing the ad but it showing at bottom of the all buttons and also it hides the logout button.I also seen other questions of this site but it does not solve my problem.can some body help me what mistake I do or what I have to do to fix it.</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="utf-8"?&gt;
   &lt;ScrollView
      xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:ads="http://schemas.android.com/apk/res-auto" 
      android:layout_width="fill_parent"
      android:layout_height="fill_parent" &gt;
  &lt;RelativeLayout 
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:orientation="vertical" &gt;
       ...
       //I just delete other buttons
       //but search also here
      ....
  
      &lt;Button
          android:id="@+id/but_logout"
          style="@style/login"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:layout_below="@+id/but_search"
          android:layout_marginLeft="30dp"
          android:layout_marginRight="30dp"
          android:layout_marginTop="8dp"
          android:onClick="click_but_logout"
          android:text="@string/label_logout" /&gt;
      &lt;com.google.android.gms.ads.AdView
      android:id="@+id/adView"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:layout_alignParentBottom="true"
      android:layout_alignParentLeft="true"
      ads:adSize="BANNER"
      ads:adUnitId="@string/ad_unit_id"/&gt;     
  
  &lt;/RelativeLayout&gt;
  &lt;/ScrollView&gt;
  </code></pre>