Show loading gif while Webview is loading

73 views
Skip to first unread message

Michael Magro

unread,
Feb 16, 2021, 4:17:47 PM2/16/21
to Kivy users support
I have an App that basically is a login screen and when the user moves past that login screen I open a Webview and load a certain website.

The structure is as follows:

LoginApp (App) > Login (Screen) > WebView (ModalView)

I would like to add a loading (a gif in the spinner format), between the login screen and the moment the website is loaded in the Webview, which way should I follow?

Robert

unread,
Feb 16, 2021, 6:44:39 PM2/16/21
to Kivy users support
The contents of the ModalView is an android.webkit.WebView inside a android.widget.LinearLayout.
If the objective is to display something on top of it, I expect some subclass of android.view.View  would be the solution.
I don't have an example.
Reply all
Reply to author
Forward
0 new messages