Пустое место после исчезновения AdMob

У меня есть структура макета:

<LinearLayout
  xmlns:android="http://schemas.android.com/apk/res/android"
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical" >
  <com.google.ads.AdView 
   android:layout_width="fill_parent"
   android:layout_height="wrap_content"
   ads:adSize="BANNER"
  />

  <LinearLayout style="@style/TitleBar"
   android:layout_width="fill_parent"
   android:layout_height="45dip"
    // title bar
  </LinearLayout>

<RelativeLayout
  android:layout_width="fill_parent"
  android:layout_height="fill_parent"
  android:orientation="vertical"
  // main layout with all needed elements and background!" >

</RelativeLayout>
</LinearLayout>

Все выглядело нормально, пока мой AdMob не исчез. Затем я вижу пустую черную область с размером admob.

ОБНОВЛЕНИЕ: мой снимок экрана: enter image description here

обычно я вижу здесь рекламный блок, но когда я получаю onFailedToReceiveAd (запрос объявления выполнен, но объявление не возвращено из-за отсутствия рекламных ресурсов), объявление отклоняется, и мой макет не заполняет весь экран.

9
задан Anton Derevyanko 23 June 2011 в 20:13
поделиться