[android-developers] Re: Html-style links inside ListView items

2011-10-29 Thread nadam
Nope. Tried that already. On Oct 29, 4:58 pm, Kristopher Micinski wrote: > Not that this is a solution, but might this work: > > http://developer.android.com/reference/android/text/util/Linkify.html > > > > > > > > On Sat, Oct 29, 2011 at 10:55 AM, nadam wrote: > > I never found a solution. I th

Re: [android-developers] Re: Html-style links inside ListView items

2011-10-29 Thread Kristopher Micinski
Not that this is a solution, but might this work: http://developer.android.com/reference/android/text/util/Linkify.html On Sat, Oct 29, 2011 at 10:55 AM, nadam wrote: > I never found a solution. I think the only way is to skip ListView and > build your own list somehow. > > On Oct 27, 11:45 pm,

[android-developers] Re: Html-style links inside ListView items

2011-10-29 Thread nadam
I never found a solution. I think the only way is to skip ListView and build your own list somehow. On Oct 27, 11:45 pm, LS wrote: > Did you find any solution to this ? > I'm also trying to havehtmlstylelinkswithin clickable list items. But only > one click works - either the link or the list but

[android-developers] Re: Html-style links inside ListView items

2011-10-27 Thread LS
Did you find any solution to this ? I'm also trying to have html style links within clickable list items. But only one click works - either the link or the list but havent found the solution for both. -- You received this message because you are subscribed to the Google Groups "Android Developers

[android-developers] Re: Html-style links inside ListView items

2011-08-11 Thread nadam
...and setMovementMethod() makes the html-link work while removing the possibility to click the rest of the list item. I've also tried android:onClick on the TextView I use as a list item. This works except that when clicking a link both events happen at the same time. On 11 Aug, 00:07, nadam wr

[android-developers] Re: Html-style links inside ListView items

2011-08-10 Thread nadam
Yep. Did some more testing. AutoLink works for non-html-links, but not with html-links. Clicking the rest of the list item doesn't work (takes you to one of the links instead of the click event of the list item). The html-link is displayed as plain text. Without autolink, the html-link looks like

Re: [android-developers] Re: Html-style links inside ListView items

2011-08-10 Thread Mark Murphy
It worked for me on my Patchy sample, way back when. I used android:autoLink in the layout XML and did not have setMovementMethod(). However, I never bothered to try to get both autoLink and regular onListItemClick() to work together. I would imagine the solution for this is the same as the "how d

[android-developers] Re: Html-style links inside ListView items

2011-08-10 Thread nadam
Is this a bug in Android with no known work-around? On 2 Juli, 20:45, nadam wrote: > I've read many posts about the problem with having links insideListViewitems. > The suggestions include: > > - setText(Html.fromHtml(textWithHtmlLinks)) > - setAutoLinkMask(Linkify.WEB_URLS) > - setMovementMetho