Re: [android-developers] How to get click position in TextView?
On Thu, Aug 19, 2010 at 5:00 PM, Sergey <sergeysn@gmail.com> wrote:
> I need to process words on which user clicked (touched) in the
> TextView.
Create one TextView per word.
> But there seems to be no way to figure out which word was
> clicked.
That's probably correct.
> TextView.getSelectionStart() always returns 0 even if I use
> setMovementMethod(ScrollingMovementMethod.getInstance());
TextView does not support selection, AFAIK.
--
Mark Murphy (a Commons Guy)
http://commonsware.com | http://github.com/commonsguy
http://commonsware.com/blog | http://twitter.com/commonsguy
_The Busy Coder's Guide to Android Development_ Version 3.1 Available!
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscribe@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
0 Comments:
Post a Comment
Subscribe to Post Comments [Atom]
<< Home