Friday, April 13, 2012

Android: How to refresh on transparent background webview?

If you set Webview's background to be transparent, then whenever you load a new page, contents will overlap.

To solve this issue:


       webView.clearView();
       webView.loadUrl(url);

Clear view before you load something else.

No comments:

Post a Comment