How to make AdView “occupy” space even while requesting an ad? (Android)

后端 未结 3 1364
刺人心
刺人心 2021-02-05 15:04

I\'m using Google AdMob Ads SDK 4.0.4 for Android

By default, The AdView will have no size until the ad is loaded. Which could cause problem if you have buttons above or

3条回答
  •  遇见更好的自我
    2021-02-05 15:37

    Have you tried:

      
    

    I use AdWhirl to serve my ads for me and the way I have it is with a fixed view similar to this with fixed dimensions. Looks like you have it set to wrap content making the view disappear when nothing's there. Try it out and let me know how it works out.

提交回复
热议问题