I've found a number of code examples for implementing image, or view drag 'n drop in Android, and have implemented one that should go sme way to meeting my requirements.
However, I need to be able to drag images from View A to View B (on the same screen), with a check that if the user lets go of the image anywhere outside of View B, then it returns to it's original place in View A. (basically it's an invalid move, so it cancels as soon as they let go).
Can anyone tell me how I can establish which view the user is "in", or maybe "over" when they let go of the image?
Thanks in advance :)