Is there a way to know if a 开发者_高级运维view is overlapped by another view? Like in RelativeLayout.
I think only by hand.
ie, walk the hierachy of the views and at each level of the tree, get the rects of each view and compare for intersection.
You Have to use Android Developer tool - Hierarchy-Viewer,
Check this developer site link.
精彩评论