Debug your app layout for augmented experiences with Layout Inspector
Stay organized with collections
Save and categorize content based on your preferences.
Applicable XR devices
This guidance helps you build experiences for these types of XR devices.
While you're building augmented experiences with Jetpack Compose Glimmer
components for AI glasses, you can inspect and debug your layout with the Layout
Inspector in Android Studio.
When you see a screen you want to inspect, select Tools > Layout
Inspector from the menu bar.
The Layout Inspector opens, along with the Attributes and the
Component Tree subpanels.
In the Component Tree, find the UI component for the AI glasses. Click
the component to inspect its attributes.
Inspect component attributes
As you interact with your app, click Toggle Deep Inspect to select a
component directly on the emulated devices. All of the layout attributes for a
selected component appear in the Attributes panel.
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2026-05-01 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-05-01 UTC."],[],[]]