Hi Im encountering the following problem with the SMART_BANNER type.If I load an ad in landscape mode and then switch to portrait mode I see the following error in logcat.Not enough space to show ad! Wants: <1196, 64>, Has: <720, 100>It doesn't seem to refreshing the AdView objects state. I already have a handler for onConfigurationChanged() in the activity where I check orientation.Should I destroy the Adview completely and call ad.loadAd(new AdRequest())? My AdView is defined in xml as follows.<com.google.ads.AdView
android:id="@+id/adViewDetail"
android:layout_width="fill_parent"
android:layout_height="50dp"
android:layout_marginBottom="1dp"
android:background="@color/black"
ads:adUnitId="XXXXXX"
ads:adSize="SMART_BANNER"
ads:testDevices="TEST_EMULATOR,XXXXXXXX"
/>Activity =>
AdView ad = (AdView) findViewById(R.id.adViewDetail);
ad.loadAd(new AdRequest());Thanks,Aaron
--
---
You received this message because you are subscribed to the Google Groups "Google AdMob Ads Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I see. Thanks
To unsubscribe from this group and stop receiving emails from it, send an email to google-admob-ads-sdk+unsub...@googlegroups.com.