For some reasons I need to create AdView programmatically and rotate it for 90 with this:
adViewCentral = new AdView(this);
adViewCentral.setAdSize(AdSize.BANNER);
adViewCentral.setAdUnitId(Battlefield_free.admob_central_banner);
adViewCentral.setRotation(90);
But banner is cropped after rotating. It looks like canvas does not rotate. It's well noticed on small angles:
If you rotate banner 90 degrees, it completely disappear. But it still reacts on clicks.
I tried to set pivot center through setPivotX() and setPivotY() - no results.
I tried to create subclass for AdView, but AdView is final class. So, nor any subclasses... :(
I tried to use custom AdSize, but banner only stretches...
I tested it all on two devices.
Any suggestions?
PS: <integer name="google_play_services_version">8487000</integer>