Custom Loading progress for BrowserComponent

12 views
Skip to first unread message

David Wafula

unread,
Jul 19, 2021, 3:16:50 PM7/19/21
to CodenameOne Discussions
Hi,

I was reading on this, and I see one can hide loading progress:
Display.getInstance().setProperty("WebLoadingHidden", "true");

Is there a way to customize the loading, with own image besides hiding it ?

--
David W

Shai Almog

unread,
Jul 19, 2021, 11:19:25 PM7/19/21
to CodenameOne Discussions
Hi,
this is a native Android feature. You can just place any animation you want on top of the UI e.g. in the LayeredPane (not a dialog).
Then when you get the web event you can just remove the animation.
Reply all
Reply to author
Forward
0 new messages