Layout Inspector
Question
Which tool would you use to see why your views are layouted incorrectly.
Short interview answer
Use Android Studio’s Layout Inspector. It shows a running app’s component hierarchy and attributes on an emulator or physical device.
Detailed answer
Inspect the selected view’s constraints, bounds, parent hierarchy, and attributes, then compare the rendered result with the intended design. This reveals issues such as an unexpected parent constraint or a view with zero size more reliably than guessing from XML alone.