android webview set force system font





WebSettings webSettings = myWebView.getSettings();
webSettings.setStandardFontFamily("Roboto-Light");

  1. if html page not specified any font then it will take this dynamic font family.
    2.html specified font is not available then it will take our dynamic font in webview
Other than this Priority is given for serverpage font family not a dynamic.


ref : http://stackoverflow.com/questions/29512807/how-to-set-webview-font



댓글