Reputation: 64844
I want to get position of view located inside a RelativeLayout
?
Upvotes: 2
Views: 2549
Reputation: 5900
You can use getLocationOnScreen method to detect position of your view and layout on screen. Then just calculate relative coordinates.
Upvotes: 2