Hi,
I'm building an android app with phonegap and displaying admob ads by creating adview with following code:
adView = new AdView(this, AdSize.BANNER, "xxxxxxxxxxxx");
this.appView.addView(adView);
adView.loadAd(new AdRequest());
I want to align this ad to right of the screen in one app and bottom in another app, and it should remain fixed and not scroll. There are many code example on how to do this in the main.xml file, but i cannot use that method as phonegap doesn't allow to modify view through that. How can i make the re position the ad by modifying the above code?
Thanks.