font styles not working when set custom font for webview

后端 未结 2 2106
误落风尘
误落风尘 2021-01-03 04:43

Main.java:

Main instanceMain = this;
    String Dataz = FN.getHtmlData(instanceMain,\"BMitra\",20,(getResources().getString(R.string.matn2)));
    btne.loadD         


        
相关标签:
2条回答
  • 2021-01-03 05:09

    I ran into the same issue on a really large page I was displaying. Try setting the activity with the webview to android:hardwareAccelerated="false" in the manifest.

    0 讨论(0)
  • 2021-01-03 05:14

    It's not possible, because of Webview rather than Android OS progress, is broken. If you set a custom font for Webview, in some device and Android OS it works and in some others not, unfortunately.

    0 讨论(0)
提交回复
热议问题