Does Android Studio have a Hierarchy Viewer or Layout Inspector?
DDMS, Hierarchy Viewer, openGL Tracer etc all moved into Android Device Monitor. To access:
- In Android Studio: "Tools" menu > Android > Android Device Monitor
- In ADM: "Window" Menu > Perspective
- Click on Hierarchy Viewer.
Android Studio 4.0
There is a new live layout inspector. View > Tool Windows > Layout Inspector
For more information on its usage see this article.
Android Studio 3.2
The layout inspector is now found directly under tools. Tools > Layout Inspector
Android Studio 3
The layout inspector can only be found under Tools > Android > Layout Inspector
Android Studio 2.2
Instructions from original link on how to open the Layout Inspector:
To open the Layout Inspector, first launch your app on a connected device or emulator. Then open the Android Monitor window, select your device and app process, and then click Layout Inspector . You can also open it by clicking Tools > Android > Layout Inspector in the menu bar.