By using WebView, I have loaded some html content contains image(large size, for example, 800*600) and text. For text, it 开发者_开发技巧can perform line wrapping automatically. But for image, it will enable the horizontal scroll even if "setHorizontalScrollBarEnabled" is set to false. Is there any method to force auto-fit in the WebView? Thanks!
You can parse the HTML content before loading it into the WebView and change the image(s) size according to screen resolution (that you can detect)
精彩评论