Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 736 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 736 Bytes

#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