The left pane shows the view hierarchy as a list, the center pane shows a screenshot of the layout, and the right pane shows all the properties for the selected view.Ĭlicking a view in the hierarchy list highlights the same view in the screenshot, and vice versa. Layout Inspector currently provides just a snapshot of the layout at the time you open the tool. You can also open it by clicking Tools > Android > Layout Inspector in the menu bar. Then open Android Monitor window, select your device and app process, and then click Layout Inspector. To open the Layout Inspector, first launch your app on a connected device or emulator. For now, it provides a quick solution to inspect the view properties of your layout without leaving the IDE. It's a work in progress that will supersede the Hierarchy Viewer tool once it is feature complete. The Layout Inspector available in Android Studio 2.2 is an early release. This is particularly useful when your layout is built at runtime rather than being defined entirely in an XML layout. The Layout Inspector in Android Studio allows you to inspect your app's view hierarchy at runtime from within the Android Studio IDE.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |