Skip to content

gyw520gyw/TopProgressBarWebView

Repository files navigation

#discription 现在h5越来越火,很多app中都会有用到h5,比如新闻类的app,这时就需要用到WebView控件,看微信订阅号打开详情时,都会在顶部有一个进度条,觉得比较好,在项目中用到WebView的时候也把进度条放在顶部。

#usage

ProgressWebView mWebView = new ProgressWebView(this);
mWebView.loadUrl("https://github.com/");

or

<com.gyw.topprogressbarwebviewdemo.ProgressWebView
    android:layout_width="match_parent"
    android:layout_height="match_parent" >
</com.gyw.topprogressbarwebviewdemo.ProgressWebView>

#Screenshot

About

Android 顶部带进度条的WebView

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages