QtAndroidTools icon indicating copy to clipboard operation
QtAndroidTools copied to clipboard

QtAndroidAdMobBanner not support split screen

Open TechComet opened this issue 4 years ago • 3 comments

Hi,

QtAndroidAdMobBanner not support split screen

please try App Demo in split mode

TechComet avatar Mar 01 '20 19:03 TechComet

Hi Can you give me more info regarding how to reproduce the problem? I tried using android 9 to split in vertical mode the demo app and I can see the banners move correctly. To be onest I can see a small incorrect positioning over the banner black frame but if I touch the app window to force a repaint the banner are positioned correctly. Is this the problem you see?

FalsinSoft avatar Mar 02 '20 16:03 FalsinSoft

yes but I touch the app window to force a repaint the banner but not repaint are positioned correctly

TechComet avatar Mar 03 '20 11:03 TechComet

Just pulled a new commit. Basically I changed the way the banner is positioned. Please note I don't have a physical device with Android 9 to test with. I can test using emulator only. Now the banner keep the correct position in the splitted mode only if the app is on top but if I touch the app window in any point it seem is resized and the controls move a bit up with the result the banner is not aligned. On the contrary if the app is splitted on bottom the banner is not aligned. Reloading the banner set it in the correct position but I still didn't find an event informing the tool the window is redesigned to force banner repositioning...

FalsinSoft avatar Mar 08 '20 16:03 FalsinSoft