HTML コンテンツを Web ビューに追加しようとしています。HTML コンテンツ内の単語にスペースが含まれていない場合、webview はその特定の単語を同じ行に保持します。そのコンテンツを折り返して次の行に配置したいのですが、それは可能ですか。サンプル コードを添付します。問題を再現します。
String temp="<p>WebViewallowsyoutocreateyourownwindowforviewingwebpages(orevendevelopacompletebrowser).Inthistutorial,youcreateasimpleActivitythatcanviewandnavigatewebpages.1.CreateanewprojectnamedHelloWebView.</p>";
WebView wb=new WebView(this);
wb.loadDataWithBaseURL("", temp, "text/html", Encoding.UTF_8.toString(),"");
setContentView(wb);