WebView支持特效,页面内跳转(转载!)
![](https://images.cnblogs.com/OutliningIndicators/ContractedBlock.gif)
1 webView = (WebView) findViewById(R.id.lottery_webview); 2 webView.getSettings().setJavaScriptEnabled(true); 3 webView.getSettings().setLoadsImagesAutomatically(true);//auto load images 4 webView.getSettings().setSupportZoom(false); 5 webView.getSettings().setBuiltInZoomControls(false);//zoom 6 webView.getSettings().setUseWideViewPort(true); //auto adjust screen 7 webView.getSettings().setLoadWithOverviewMode(true); 8 webView.loadUrl(url); 9 webView.setWebViewClient(new WebViewClient());