JakeWharton / scalpel

A surgical debugging tool to uncover the layers under your app.
Apache License 2.0
2.76k stars 231 forks source link

DFS to pre-compute view layer levels and avoid collisions. #16

Closed JakeWharton closed 9 years ago

JakeWharton commented 10 years ago

This fixes #15 at the expense of switching to a view-hierarchy snapshot rather than being tired directly. For some reason, we were triggering re-layout constantly which thrashes objects in this tree.

Not convinced this is ready to go in yet...