Ok, so I have decided to use Admob as one the of advertisers for my next app.
I have fullscreen ads working and also banners, very easy.
BUT, Iam pulling my hair out here, I cannot for the life of me get the banner ad centered.
This is what I mean.
The app is in landscape, at he bottom of the screen I have on the left a slider and on the right 2 buttons.
In the middle of this is a nice space to place an add.
So I can position the y axis and get it to the bottom.
When I position the x at say display.contentWidth/2 it places the top left corner of the banner on the centreline, all ok.
Now when I attempt to move it over using display.contentWidth/2 - 160 for instance, the x origin is indeed moved but he banner right side stays as it was. I end up with a long banner.
I believe to centre it in the middle using java they use parent bottom or something.
Any ideas?