Hi I have a layout which has a menu bar at the top, then a map fragment and then an AdMob banner. It all displays almost as wanted, except for some reason the Get Location button in the MapFragment is mostly hidden underneath the adMob banner. Even though the map does end above the banner the Get Location button is clipped. Any help would be appreciated the AdFragment is an exact replica of the AdMob banner example (a RelativeLayout wrapped around an AdView element). Here is what my Layout looks like, any help would be appreciated. I have also noticed if i replace the adFragment with a RelativeLayout the My Location button isn't clipped but out of proportion to fit on the Map screen
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:tools="http://schemas.android.com/tools"
android:id="@+id/mapScreen"
android:orientation="vertical"
android:layout_width="match_parent"
android:layout_height="match_parent">
<RelativeLayout
android:id="@+id/layoutTop"
android:layout_width="match_parent"
android:layout_height="45dp">
</RelativeLayout>
<fragment
android:id="@+id/map"
android:name="com.google.android.gms.maps.SupportMapFragment"
android:layout_height="0dp"
android:layout_weight="1"/>
<fragment
android:id="@+id/adFragment"
android:name="xxxx$AdFragment"
android:layout_width="match_parent"
android:layout_height="wrap_content"/>
</LinearLayout >