Android ImageView clickable overlays
Posted
by Gernot
on Stack Overflow
See other posts from Stack Overflow
or by Gernot
Published on 2010-04-14T09:28:38Z
Indexed on
2010/04/14
9:33 UTC
Read the original article
Hit count: 682
Hello,
I have a ImageView and draw some things on that view. Now I want to have the position of the click in the onClickListener.
Although I think that's not really possible (storing the position in the onTouchListener is not working), I want to ask, if there is any other way to accomplish that?
The goal is to have a image with some overlays, that should be clickable. I thought about AbsolutLayout, but that is depracated, so what now?
Thx for any help.
© Stack Overflow or respective owner