I have a text view with Clickable Spans inside a text view. To
actually make the Spans click able I have to use -

class myView extends LinearLayout
...
MovementMethod mm = mText.getMovementMethod();
if (!(mm instanceof LinkMovementMethod))
 {
    mText.setMovementMethod(LinkMovementMethod.getInstance());
}

But adding this code removes the ability for the ListView view's to be
selected on a whole (and have a yellow background) as well as remove
the onContextMenu event.

How can I have a TextView with ClickableSpans inside a ListView?

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to android-beginners@googlegroups.com
To unsubscribe from this group, send email to
android-beginners-unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to