Skip to content

Latest commit

 

History

History
29 lines (17 loc) · 563 Bytes

README.md

File metadata and controls

29 lines (17 loc) · 563 Bytes

Android webview example

This code is working from API 21

Usage

To enable the tint:

mWebView.loadUrl("https://www.google.com/");

Change the url, it also work for local file as well.

mWebView.loadUrl("file:///android_asset/index.html");

It works also to enable the caching for web view. Using LOAD_DEFAULT property, it works in offline mode also.

Credits

Author: Ahmed Faisal

screenshot