I
I
Ivan Pushkarev2016-04-13 06:06:43
Android
Ivan Pushkarev, 2016-04-13 06:06:43

How to make ProgressDialog at the top?

Hello everyone, I need help to organize the loading of the ProgressDialog at the top and so that it loads the webview, that is, when the user starts to open the page and the loading is shown at the top, otherwise it opens the page for me and does not see the roofing felts it loads the roofing felts no

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ivan Pushkarev, 2016-04-22
@data302

ProgressBar progressBar;
progressBar = (ProgressBar) findViewById(R.id.progressBar);
public void onPageFinished(WebView view, String url) {
super.onPageFinished(view, url);
progressBar.setVisibility(View.GONE);
}
In app bar

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question