B4J Question Judder with SetLayoutAnimated

Blueforcer

Well-Known Member
Licensed User
Longtime User
Hello

In my app I use "SetLayoutAnimated" to show or hide a menu bar or scroll to a second screen below. There are several elements (Panes or canvas etc) in the panel which is scrolled.
But now I have the problem, the bigger the individual elements are, the more judder he animates the movement.

I recorded it in a video:


It does not matter how many elements are in the pane. As soon as a large element is displayed (and if it is only an image with canvs) it gets really
juddering. In the last screen (with the many buttons) it runs extremely smoothly. with the others not. How can i fix this?

Im running on a Raspberry Pi 3 overclocked to 1350Mhz And GPU Mem at 256MB

How does SetLayoutAnimated work? is it a do while loop?!
Because even my RS232 bus running in its own class is sometimes stopped briefly during the animation.
 
Last edited:
Top