Hierarchy Viewer is a tool in the Android SDK, it can help you analyze UI layout application.
Use:
- Connecting the mobile device to open or emulator.
- Run hierarchyviewer, the specific path: android-sdk-windows \ tools \ hierarchyviewer.bat.
- Select the device, click [load View Hierarchy] button, you can capture to layout information of the current activity.
- Double-tree node may separate UI display portion.
Today, the use of this tool to debug problems on a TextView Android, to put the time Layout ViewGroup to misplaced found.
Reproduced in: https: //www.cnblogs.com/jalenwang/archive/2012/06/20/view-hierarchy.html