Why not just use InfiniteProgress with the code you have above instead of
the layer container?
You received this message because you are subscribed to the Google Groups
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit
For more options, visit https://groups.google.com/d/optout.