Android Question [SOLVED] B4XPages.ShowPage()

T201016

Active Member
Licensed User
Longtime User
Hello everyone,
can anyone explain to me why the "thumbnail" effect occurs
as in the photo below?

I mean this reduced-size "thumbnail" in the upper left corner of the wodok,
for a short while before loading the entire view. I open the view with B4XPages.ShowPage ()

(Interestingly, the first time I land the view, I don't see this effect).

How can I get rid of it?

*) thumbnail - scaled view image.
 

Attachments

  • Screenshot_20220810-144149.png
    Screenshot_20220810-144149.png
    107.7 KB · Views: 178
Solution
Hi, @Alexander Stolte
yes i set the time to 0 and nothing helped.
I noticed that the opened windows (not yet on the stack) are displayed correctly, while when I open a given window again (already from the stack) it always displays from the LEFT EDGE OF THE PHONE SCREEN.

I can see that a similar problem was communicated on the forum

Only giving the following line improved the operation in my case:

Add this line to B4XMainPage::
Sub Initialize

       B4XPages.GetManager.TransitionAnimationDuration = 0

End Sub

DonManfred

Expert
Licensed User
Longtime User
(Interestingly, the first time I land the view, I don't see this effect).
looks like a thumbnail from the recent-apps-feature.

Maybe it is a feature of this dpecific device?

I have not seen this with any of my Devices (all of them are Samsung though).
 
Upvote 0

T201016

Active Member
Licensed User
Longtime User
looks like a thumbnail from the recent-apps-feature.

Maybe it is a feature of this dpecific device?

I have not seen this with any of my Devices (all of them are Samsung though).
Hi, @DonManfred
In this case, it's probably not about the device, because you can see not all the activities created by me in the designer have this effect. And it manifests itself by displaying this square with the activity when I open or close the activity.
Firstly, it is annoying and secondly, the activity is not displayed smoothly on the screen.
 
Upvote 0

T201016

Active Member
Licensed User
Longtime User
Or set simply the Animation Duration of the form to 0 in the designer
Hi, @Alexander Stolte
yes i set the time to 0 and nothing helped.
I noticed that the opened windows (not yet on the stack) are displayed correctly, while when I open a given window again (already from the stack) it always displays from the LEFT EDGE OF THE PHONE SCREEN.

I can see that a similar problem was communicated on the forum
 
Last edited:
Upvote 0

T201016

Active Member
Licensed User
Longtime User
Hi, @Alexander Stolte
yes i set the time to 0 and nothing helped.
I noticed that the opened windows (not yet on the stack) are displayed correctly, while when I open a given window again (already from the stack) it always displays from the LEFT EDGE OF THE PHONE SCREEN.

I can see that a similar problem was communicated on the forum

Only giving the following line improved the operation in my case:

Add this line to B4XMainPage::
Sub Initialize

       B4XPages.GetManager.TransitionAnimationDuration = 0

End Sub
 
Upvote 0
Solution
Top