0
У меня проблема с Admob. Adview находится за кнопками в моей компоновке xml. Но я хочу видеть, что реклама завершена кнопками или просмотром.Android AdView за просмотром
Как я могу это сделать?
Моя раскладка:
<com.google.android.gms.ads.AdView
android:id="@+id/adView"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adUnitId="ca-app-pub-46102063xxxx"
ads:adSize="BANNER"
android:layout_alignParentBottom="true"
android:layout_centerHorizontal="true" />
<com.google.android.gms.ads.AdView
android:id="@+id/adView2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
ads:adUnitId="ca-app-pub-461020638314xxxxxxx"
ads:adSize="BANNER"
android:layout_x="153dp"
android:layout_y="262dp" />
<ImageButton
android:id="@+id/imageButton2"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:layout_alignLeft="@+id/imageButton1"
android:layout_below="@+id/imageButton1"
android:background="@android:color/transparent" />