I am trying to add an HTML content to a web view. If the words in the
HTML content are without spaces then webview keeps that particular
word on the same line.I want that content to be wrapped and be on the
next line.Is it possible to do that.I am attaching a sample code that
can reproduce the issue.
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);
--
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en