开发者

View overlapped by another view

开发者 https://www.devze.com 2023-02-16 23:43 出处:网络
Is there a way to know if a 开发者_高级运维view is overlapped by another view? Like in RelativeLayout.I think only by hand.

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

精彩评论

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