The Wayback Machine - https://web.archive.org/web/20141103184746/https://developer.android.com/tools/help/hierarchy-viewer.html

Hierarchy Viewer

Hierarchy Viewer allows you to debug and optimize your user interface. It provides a visual representation of the layout's View hierarchy (the Layout View) and a magnified inspector of the display (the Pixel Perfect View).

To start Hierarchy Viewer, enter the following command from the SDK tools/ directory:

hierarchyviewer

For more information on how to use Hierarchy Viewer, see Debugging and Profiling UIs