ClickableSpan on TextView in App Widget

Posted by Dave Allison on Stack Overflow See other posts from Stack Overflow or by Dave Allison
Published on 2010-03-15T16:56:53Z Indexed on 2010/03/15 16:59 UTC
Read the original article Hit count: 278

Filed under:
|

I have created an App Widget for Android 1.5. It uses a TextView to present a number of individual Text Links using ClickableSpans. However, the onClick event handler on the ClickableSpan is never called, it appears that you can not select individual components on the widget just the whole widget.

This approach works fine for a normal app, so what I do I need to change to make this work for a widget?

© Stack Overflow or respective owner

Related posts about android-widget

Related posts about android