I have a framelayout(my main layout), im drawing ads on it.
AdView adView = new AdView(this, AdSize.BANNER, "id");
FrameLayout v = (FrameLayout)findViewById(R.id.framemain);
v.addView(adView);
AdRequest request = new AdRequest();
request.addTestDevice(AdRequest.TEST_EMULATOR);
request.addTestDevice("41A48DB6B62384BDC3BEE5929AEC18DF");
adView.loadAd(request);
The problem is, that when dragging sliding drawer, part of it remains behind the ad. Any way to get this working?
The most recently added view is at the top of the z-order. So if you add this ad view last, it will be drawn at the top.