Hi,

I have a String with '<a href=...>Something</a>' tags and some text such as 
'www.example.com'.  I would like both to be links that can be clicked in a 
TextView.

I can use Html.fromHtml to create links from the tags, but if I use 
Linkify.addLinks I lose the links created from the Html.fromHtml.

        mArticleTextView.setText(mDescription);
        
mArticleTextView.setText(Html.fromHtml(mArticleTextView.getText().toString(), 
new MImageGetter(), null));
        Linkify.addLinks(mArticleTextView, Linkify.ALL);

Is there a way to get both to link in a TextView?

Regards,
Julius.

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to