webView.setWebViewClient(new WebViewClient(){
ProgressDialog prDialog;
@Override
public void onPageStarted(WebView view, String url, Bitmap favicon) {
prDialog = ProgressDialog.show(BrowseNewsActivity.this, null, "加载数据中, 请稍等...");
super.onPageStarted(view, url, favicon);
} @Override
public void onPageFinished(WebView view, String url) {
prDialog.dismiss();
super.onPageFinished(view, url);
}
});
webView.loadUrl(content_url);