Install hierarchyviewer by entering the following commands in the terminal:
sudo apt update sudo apt install hierarchyviewer
Description:
View the UI hierarchy of an Android application
The 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). . See also:
Homepage: https://android.googlesource.com/platform/tools/swt
Version: 2.0.0-1
Section: universe/devel