Webview height not changing after resize font size

前端 未结 4 1921
猫巷女王i
猫巷女王i 2021-01-20 04:16

In my application I use a ScrollView. This ScrollView contain many Webview. I change the webview font size:

webView.getSettings().setTextSize(WebSettings.Tex         


        
4条回答
  •  半阙折子戏
    2021-01-20 04:43

    you might have to reload your webview with ie:

    webview.loadUrl( "javascript:window.location.reload( true )" );
    

提交回复
热议问题