I have a TextView containing Editable text. There are pictures in this text (drawables, I used Html.ImageGetter) for that I want to register onTouch events. So, when the user touches the image, which is part of a spannable text, I want to know that. (And, which image he touched).
Is that possible? If so, maybe without dirty workarounds?
Best regards, Jan Oliver Oelerich
Copied from the ArrowKeyMovementMethod source code, you could try to use the following snippet of code:
Hope that helps, EdenSphere.