Я использую MoPubView для рекламы в своем приложении. Но когда я открываю клавиатуру, этот баннер поднимается и закрывает виджеты.
Это код из макета:
<FrameLayout xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
android:id="@+id/container"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:background="@color/material_bg">
<ScrollView
android:id="@+id/scroll"
android:layout_width="match_parent"
android:layout_height="match_parent">
<LinearLayout
android:layout_width="match_parent"
android:layout_height="wrap_content"
android:orientation="vertical"
android:paddingBottom="@dimen/activity_horizontal_margin">
...Content here
</LinearLayout>
</ScrollView>
<com.mopub.mobileads.MoPubView
android:id="@+id/adview"
android:layout_width="fill_parent"
android:layout_height="@dimen/mopub_height"
android:layout_gravity="bottom"/>
</FrameLayout>
Как скрыть этот баннер или закрепить его внизу?