by

Inspecting layouts on Android

Struggling with a layout issue on Android? The Android Debug Monitor lets you inspect the exact layout of any (not just your apps) screen showing on your device or emulator.

How to

  1. Run the app on the emulator or a device.
  2. Open the Android Debug Monitor:
    /path/to/android/tools/monitor
  3. Select the device/emulator in the Devices list on the left.
  4. Click the icon indicated by the purple circle in the screenshot below.
  5. You’re done, browse the layout using the screenshot and hierarchy.

Android Debug Monitor

Inspecting on iOS

For iOS I’d recommend Reveal App using the Titanium module by Huy Hong. Reveal not only allows you to fully inspect your layouts, but also to modify them in real-time!