Reputation: 859
I need to show a tooltip popup
when the images inside a listview
is tapped. For that i'm creating a absolute layout page and adding the listview
and the popup layout inside the absolute layout. I'm then trying to use the Position of the Image inside a listview
to place the popup layout just below the image.
But the image X position is returning some value but the Y value returns 0 always.
Upvotes: 0
Views: 778
Reputation: 859
We could achieve this by following the code in this link Getting X and Y coordinates but again its not giving the screens X & Y position.
Upvotes: 0
Reputation: 326
There's a handy NuGet package called MR.Gestures that provides (among other things) X- and Y- screen coordinates of a tap location.
Upvotes: 1