Re: [android-developers] Re: How do I create an editable browser window?
On Thu, Mar 22, 2012 at 5:44 PM, FractalBob <ruomini@gmail.com> wrote:
> Unfortunately, EditText can only render a small subset of HTML, like
> <b>, <i> and a few others.
If by "few" you mean ~20 tags, then yes, it's few.
<a href="...">
<b>
<big>
<blockquote>
<br>
<cite>
<dfn>
<div align="...">
<em>
<font size="..." color="..." face="...">
<h1>
<h2>
<h3>
<h4>
<h5>
<h6>
<i>
<img src="...">
<p>
<small>
<strike>
<strong>
<sub>
<sup>
<tt>
<u>
Technically, EditText can handle more than that, but that's is what
Html.fromHtml() can parse (and toHtml() can generate, AFAIK).
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.7 Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home