Android Programming The Big Nerd Ranch Guide, 3rd Edition

(Brent) #1

Chapter 4  Debugging Android Apps


88

Challenge: Exploring the Layout Inspector


For support debugging layout file issues, the layout inspector can be used to interactively inspect how
a layout file is rendered to the screen. To use the layout inspector, make sure GeoQuiz is running in
the emulator and click on the layout inspector icon in the left drawer within the Android Monitor tool
window (Figure 4.9). Once the inspector is activated, you can explore the properties of your layout by
clicking the elements within the layout inspector view.


Figure 4.9  The Layout Inspector button

Free download pdf