Open DesignerApparelSales opened 6 years ago
I'm having this problem too. I need it in a specific position.
Try to use:
{ size: 'BANNER', bannerAtTop: true, offsetTopBar: true }
https://ratson.github.io/cordova-plugin-admob-free/typedef/index.html#static-typedef-BANNER_SIZE
@condacore This won't put it in the top right. There is currently no option to position left/right in this plugin, although I've achieved it by editing the source code.
@condacore This won't put it in the top right. There is currently no option to position left/right in this plugin, although I've achieved it by editing the source code.
Can You Share What Changes you have made to achive this ?
@sonugpc I inserted the following code at line 195 of /src/android/banner/BannerExecutor.java:
params2.addRule(RelativeLayout.ALIGN_PARENT_RIGHT);
Hope this helps!
Hi how do I set the size to be fixed 320 X 50, and position the banner to be at top-right corner, like this in admob pro.
if(AdMob) AdMob.createBanner( {