2016-03-05 94 views
2

我使用WebView工具开发电子书阅读器android projecd。我缩小屏幕像捏,在屏幕文字大小越来越大,但文字溢出屏幕,没有换行。如何文字环绕捏缩放屏幕,有没有任何超载的方法来解决问题?屏幕只有文字内容。例如:Android WebView Word包装文本内容缩放文本内容

enter image description here

回答

-1
public void increaseFont(Webview webview) { 
    int font = wv.getSettings().getTextZoom(); 
    int newFont = font + 15; 
    wwbview.getSettings().setTextZoom(newFont); 
} 
+0

请提供一些背景。 –