It seems that plug-in doesn’t support screen orientation change.
When app started in portrait mode getCurrBannerHeight() returns 50dp and everything ok.
After changing screen orientation into landscape getCurrBannerHeight ( ) returns correct size (32dp) but banner still shown having 50dp of height.
You mean… What do you mean?
I want banner to look nice on any screen size (resolution) - so I don’t want to use preset banner size.
I use smart banner - with both sizes 0. I don’t want to set banner size or width or height. Because screen width may vary from 240 to 1920 - banner with preset width or height (like 50 px) may look ugly or be not visible.
Alas, if I rotate the screen twice, then banner stops to update:
I start (app or to show AdBanner) with Landscape orientation - so appears very wide banner;
I turn the device to Portrait orientation - banner disappears and do not appear any more.
If I turn the device back to Landscape orientation - appears old banner but it does not update.
How it could be fixed?