On Fri, Dec 7, 2012 at 11:14 AM, TreKing <[email protected]> wrote: > Thanks Mark, but that's pretty much what I'm doing, sorry if that wasn't > clear. So, as a simple example, if I have the following html string and set > it using fromHtml, only one link works: > > String test = "<p>http://www.google.com</p><p><a > href=\"http://www.google.com\">Google</a>"; > textView.setText(Html.fromHtml(test)); > > With autoLink, the first one works, not the second. With setMovementMenthod, > the second one works, not the first. I can't get both to work together, no > matter what combination I try. I also played with the linksClickable > property and that doesn't help. > > I tested on my device (api 10) and an emulator with the latest version (17) > and experience the same behavior.
You may need to scan the HTML and either de-tag the <a> links or add the <a> tags to the plain links, at which point you should no longer need autoLink, setMovementMethod(), etc. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://github.com/commonsguy http://commonsware.com/blog | http://twitter.com/commonsguy Localized Android Question-and-Answer Sites: http://www.andglobe.com -- 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

