In SDK level 8.
I seem to be having an unexpected issue with WebView.

   webView.loadData("This will be filled in\nwith the generated data...", 
"text/plain", "UTF-8");


When setting text/plain as the content type, I'm expecting the webview to 
display the text as is, however it's ignoring the newline completely.

AFAIK it should displaying the text as two lines instead of one.


Anyone know how to get webview to do what it's supposed to in this instance?

A quick google search turnes up related issues, but none that shed any light 
on this particular problem.


- Brill Pappin

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to