wnafee wrote:
> I know this has been a long time ago, but did you ever find an answer to
> this?
>
> On Sunday, July 17, 2011 11:20:21 AM UTC-5, julius wrote:
> >
> > 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.
> >
> >

http://groups.google.com/group/android-developers/msg/0266d0c924a1f0a4

pskink

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