I made in image with a few circles in photoshop. I made it the same pixelsize as my android device screen, the screen density is 320dpi. Or at least I think so, but maybe i'm completely wrong thinking that photoshop res 320ppi is the same as android density 320?
I wanted to make my image clickable on the circles. I tried doing it so: I check the circle positions in photoshop, I make a collection where I save an object with those coordinates and a key. In the onTouch event on the image, I check whether the touch coordinates intersect with the coordinates in the collection and then do an action.
Some coordinates match and work fine, but when I click on others I get a different position, like in photoshop position x = 237.6 and android x = 523. I would like to understand the difference in pixel positions, what to look out for, how they work, I can not seem to find a lot of info on this difference. Or is there a better way to go about this?