How to get the touch coordinates from a widget

NeoTechni

Well-Known Member
Licensed User
Longtime User
I use a virtual interface, in that there are no views (other than the one I'm drawing on) to allow me to use one resizable widget layout for a potentially infinite amount of widget uses in my app.

The problem is, I can only seem to get click events that say the widget in general was clicked. I need to know where it was touched to be able to handle any sort of UI.

I don't want to have to set up imageviews in a grid occupying 5% by 5% and use that to estimate... That sounds messy.
 
Top