开发者

Adjust text size of WebView?

开发者 https://www.devze.com 2022-12-30 08:04 出处:网络
I would like to proportionally decrease the size of all text in a WebView as easily as possible. I\'ve tried android:textSize=\"...\" without succe开发者_Python百科ss. Api Level 7.Try getSettings().se

I would like to proportionally decrease the size of all text in a WebView as easily as possible. I've tried android:textSize="..." without succe开发者_Python百科ss. Api Level 7.


Try getSettings().setDefaultFontSize(), or perhaps getSettings().setDefaultZoom(), on your WebView.

0

精彩评论

暂无评论...
验证码 换一张
取 消