AdMob won't show the banner until refresh or sign in to google plus

后端 未结 5 1867
别那么骄傲
别那么骄傲 2020-12-28 18:50

I\'ve got a problem. My AdMob has been set up for some time now without any problem, but I noticed something wrong. Ad gets successfully loaded (i see message from ddms), bu

5条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-28 19:48

    As user3263204 says, you can use setBackgroundColor to make the adview appear. You can make the background transparent, if (as in my case) you have the adview over something else:

    adMobView.setBackgroundColor(getResources().getColor(android.R.color.transparent));

提交回复
热议问题