Mark, thanks for looking into this. At least there is an issue, and
it's not just me going bonkers.

I've been looking at it further, and it seems to be somehow related to
the WebView not liking list item (<li>) tags.

I've built a temporary work around into my code, simply by doing a
text replacement which, when displayed, has the correct layout effect:

content = content.replaceAll("<ul>", "");
content = content.replaceAll("</ul>", "");
content = content.replaceAll("</li>", "<br/>");
content = content.replaceAll("<li>",
"&nbsp;&nbsp;&nbsp;&#9679;&nbsp;&nbsp;");

Any list item bullet points are simply replaced by an alternative
means of display.

However, this isn't of course a solution. This is a rather ugly and
expensive hack!

On Dec 19, 1:39 pm, Mark Murphy <[email protected]> wrote:
>
> Well, I can certainly reproduce the problem now. In fact, it's worse
> than you feared -- it will not reliably display even the first time on
> a Nexus S with Android 4.0.
>
> (sidebar: Nexus S with Android 4.0! Who-hoo!)
>
> On a Nexus One with Android 2.3.x, I could only reproduce the problem
> by pressing BACK, then using recent-tasks to go back to the app.
>
> Since the symptoms are akin to what I was seeing with the rotation
> scenario, my guess is that the issue is somehow tied to creating a
> second WebView within the same process. Unfortunately, while that can
> be worked around for configuration changes (per my previous email), I
> know of no solution here.
>
> I suggest that you file an issue on b.android.com, or I can do it if
> you prefer. Sorry that I have not come up with a solution.
>
> --
> Mark Murphy (a Commons 
> Guy)http://commonsware.com|http://github.com/commonsguyhttp://commonsware.com/blog|http://twitter.com/commonsguy
>
> _Android Programming Tutorials_ Version 4.1 Available!

-- 
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