android笔记之在WebView中显示ProgressBar的两种方法

第一种方法是用系统的资源,这种方法只能将进度情况显示到标题栏中。英文是本文作者的一段唠叨,很简单,我就不用再翻译了吧。

When using the webview, something that drives me crazy, specially if you are in a place with a very slow internet connection, is not knowing what is happening with the webpage, is it loading? Is it stuck? …. AAAhhhh Nothing is happening. Ok don’t desperate, I am going to show you how to add a progress bar to your Webview layout in you app.After you know what to do is easy (As always).

下面是第二种方法:英文是本文作者的一段唠叨,,也很简单,我就不用再翻译了吧。和上面的方法不同的是,这个是进度没有显示在标题栏而是显示在页面的上面。

I’ve seen a multitude of posts on how to embed the Android WebView object and how to use the built-in feature request PROGRESS, but I’ve yet to come across a demonstration on just how simple it is to integrate a ProgressDialog object. I specifically needed this for one of my projects because I did not want the title bar to render in my application. If the title is not rendered, then the Window Feature Request progress bar and indeterminant functions will not render at all.

没有什么可留恋,只有抑制不住的梦想,

android笔记之在WebView中显示ProgressBar的两种方法

相关文章:

你感兴趣的文章:

标签云: