Android Admob banner display always front the page
<p>My banner adview only display front like screenshot.</p>

<p>My xml code is:</p>

<pre><code>&lt;RelativeLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:ads="http://schemas.android.com/apk/res-auto"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/content_main"
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_behavior="@string/appbar_scrolling_view_behavior"
tools:showIn="@layout/app_bar_main"&gt;

&lt;RelativeLayout
    android:id="@+id/fragmentReplace"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"&gt;&lt;/RelativeLayout&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_alignParentStart="true"
    android:layout_marginTop="30dp"
    ads:adSize="SMART_BANNER"
    ads:adUnitId="@string/banner_ad_unit_id"&gt;&lt;/com.google.android.gms.ads.AdView&gt;
</code></pre>

<p></p>

<p>how can i fix it?</p>

<p>Thanks</p>

<p><a href="https://i.stack.imgur.com/xgDIq.png" rel="nofollow noreferrer">screenshot</a></p>