root=(FrameLayout)findViewById(R.id.content);//当前界面的布局
mWebView.setDrawingCacheEnabled(true);
mWebView=(WebView)findViewById(R.id.home_webview);
mWebView.setWebChromeClient(new WebChromeClient(){
@Override
public void onProgressChanged(WebView view, int newProgress)
{
if(newProgress==100){
startAnimation(view)
}
super.onProgressChanged(view, newProgress);
}