WebView removing spaces from text

风流意气都作罢 提交于 2020-01-07 04:35:08

问题


I'm using a WebView to display a formatted HTML text file with color and font size.

My problem is it keeps removing spaces form the text, like it will combine two words together. I think it is because it is trying to fit the text within the screen width. How do I fix this? Or is there a better way to display formatted text like this? (I need size, color, links, and some centered text

Also, how do I remove the white background underneath the scrollbar?

Thanks!


回答1:


Does the text file have HTML character for a space " "? If not, that might help.



来源:https://stackoverflow.com/questions/5669265/webview-removing-spaces-from-text

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!