Android Question Why I get this behavior (B4XPages + Interstitial Ad)?

asales

Expert
Licensed User
Longtime User
I has this issue in Interstitial + activities too.

You can see in the imagesand the animation below, that if when I show the interstitial ad, the background screen is moved up (showing a blank space in the bottom).

Is more visible when I use an animation to show the interstitial, but it happens without animation too.

Why this occours and if is possibile to fix it?

 

asales

Expert
Licensed User
Longtime User
I tested it and the ad activity appeared without any transition and showed properly.
Is more difficult to saw without the transition animation (because the ad is show suddelly), but it happens.
The project is a non-B4XPages project, but it shouldn't matter.
You can see the behavior in both projects (B4XPages and non-B4XPages):
Are you testing it on a real device?
Yes. In a real device.
 
Upvote 0

asales

Expert
Licensed User
Longtime User
Test it again without the animation.
Is more difficult to see without the transition animation.

Using the animation transition is more smoothly and less agressive to show the interstitial ad. It not show suddenly.

I think is related to the statusbar, that disappears when I show the interstitial.

In Android 10 I don't saw this behavior (even with the transition animation), but is more visible in Android 7 and 9, that was the devices in I tried.
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…