所以这是我的代码,
super.onCreate(savedInstanceState);
RollingThunderView a = new RollingThunderView(this);
setContentView(a);
adView = new AdView(this, AdSize.BANNER, "ca-app-pub-XXXXXXXXXXXXXXXX/XXXXXXXXXX");
AdRequest adRequest = new AdRequest();
adRequest.addTestDevice(AdRequest.TEST_EMULATOR);
adRequest.addTestDevice("TEST_DEVICE_ID");
adView.loadAd(new AdRequest());
android.view.ViewGroup.LayoutParams lp;
lp = a.getLayoutParams();
lp.width = a.getWidth();
lp.height = a.getHeight();
this.addContentView(adView, lp);
我想要我原来的 RollingThunderView,上面有广告。有什么问题?