Android - (Views) Hierarchy Viewer

Card Puncher Data Processing

About

GUI: View hierarchy viewer.

Configuration/Installation

Hierarchy Viewer only works by default with phones running a developer version of the Android OS. If your phone is not a developer phone, you have a few options:

  • If you have a phone running Jellybean or higher, you can simply add the environment variable ANDROID_HVPROTO with the value ddm:
ANDROID_HVPROTO=ddm

  • You can run Hierarchy Viewer on an emulated phone.
  • Or you can use use the ViewServer library to get Hierarchy Viewer working on a non-developer, pre Jellybean phone.

Location

You can open it:

  • sdk/tools/hierarchyviewer.
  • or by going to the Android Device Monitor and then clicking the Hierarchy Viewer button.

Documentation / Reference





Discover More
Android Ui Hierarchy
Android - GUI (Layout)

The graphical user interface for an Android app is built using a hierarchy of UI elements where: ViewGroup (Layout) objects are invisible container element (and therefore one is at the top). Layouts...



Share this page:
Follow us:
Task Runner