Two problems about adding HTML to a textView in a ListView
<p>In my work, I have to add custom links (use custom tag) in each listview item.
I met two problems and have searched by Google and stackoverflow, but no result...</p>

<p>Here is the code segment and I process the tag with TagHandler.</p>

<pre><code>TextView tv = (TextView)paramView.findViewById(R.id.tv_dynamics_desc);
tv.setClickable(true);
tv.setText(Html.fromHtml("&lt;uc id=\"133\"&gt;This is a Uc link&lt;/uc&gt;", null, this));
tv.setMovementMethod(LinkMovementMethod.getInstance()); 
</code></pre>

<p><strong>The first problem is how to get the attribute id.</strong></p>

<pre><code>@Override
public void handleTag(boolean opening, String tag, Editable output, XMLReader xmlReader) {
    if(tag.toLowerCase().startsWith("uc")) {
        if (opening) {
            //String id = xmlReader.getProperty( "id" ).toString();  &lt;=== to get the attribute, but failed with exception of no such property.
            startClick(tag, output, xmlReader);  
        } else {  
            endClick(tag, output, xmlReader);  
        }
    }
}
</code></pre>

<p>xmlReader.getProperty( "id" ).toString(); does not work here.
So I change the tag to "uc+id", such as uc133, and this solve the problem, although a little ugly.</p>

<p>Is there any way to get the attribute directly?</p>

<p><strong>The second is the listview item can NOT receive the touch event, no matter I touch the links or the other area of the item.</strong></p>

<p>Artem Russakovskii said he also met this problem in a comment <a href="http://stackoverflow.com/questions/1697908/android-how-can-i-add-html-links-inside-a-listview">here</a>.</p>

<p>I'm from China, so sorry for my poor English.</p>

<p>Thanks very much:)</p>
