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