开发者

View overlapped by another view

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜