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
- Run the app on the emulator or a device.
- Open the Android Debug Monitor:
/path/to/android/tools/monitor
- Select the device/emulator in the Devices list on the left.
- Click the icon indicated by the purple circle in the screenshot below.
- You’re done, browse the layout using the screenshot and hierarchy.
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!