I have one relative layout whose coordinates are (0,207).
I have another view whose coordinates are (1138,750) and second view x-offset and y-offset (397,96) and I have calculated left (x-xoffset) and right (y-yoffset). Now, I want to check if the view a exists in view b area, then I want to get callback.
How can I achieve this? I am not able to find a solution.
- view A is imageview inside Relativelayout
- view B is text and imageview inside Relativelayout
I am dragging view B to view A.