嗨,我在我的 android 应用程序中使用 Admob 插页式广告,但插页式广告在应用程序中全屏显示,但我想像横幅广告一样显示插页式广告。
这是我的广告代码:
private InterstitialAd interstitialAds = null;
this.interstitialAds = new InterstitialAd(this, "ca-app-pub-25842888517785");
this.interstitialAds.setAdListener(this);
AdRequest adr = new AdRequest();
// add your test device here
adr.addTestDevice("8E452640BC83C672B070CDCA8AB9B06B");
interstitialAds.loadAd(adr);
有什么方法可以像广告视图一样在我的 Layout xml 文件中创建插页式广告?
请提前建议我谢谢。