2016년 11월 8일 화요일

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



댓글 없음:

댓글 쓰기

3gb minning

비트코인 골드 -- 마이너 다운로드 :  https://www.bminercontent.com/releases/bminer-v6.0.0-d111154-amd64.zip -- vcruntime140.dll 다운로드  https://www.micr...