I want change the default font of webview to a custom font. I\'m using webview in developing an bilingual browser app for Android.
I tried getting an instance of cus
test it, work for me like a charm :
private void setResult() { String mimeType = "text/html;charset=UTF-8"; String encoding = "utf-8"; String htmlText = htmlPrivacy; String text = "" + "" + "" + htmlText + ""; webView.loadDataWithBaseURL(null, text, mimeType, encoding, null); }