Android XR Developer Guide
android_xr_guideUse this tool to retrieve Android XR SDK reference for setup, spatial UI, ARCore, and compatibility topics. Select a topic to get targeted guidance.
Instructions
Android XR SDK reference (Developer Preview 3, December 2025). Samsung Galaxy XR launched October 2025. 5+ XR devices expected in 2026. Standard Compose apps run as 2D panels on XR headsets — no SDK required. XR SDK adds spatial APIs: SpatialPanel (3D positioned UI), UserSubspace (follows user), Orbiter (floating toolbar that orbits a panel), SubspaceModifier (size as fraction of field of view). Material 3 components automatically become spatial in XR — TopAppBar → Orbiter, etc. AI tools generate phone Compose code for XR — technically works but misses all spatial value. Topics: 'overview' (concepts, device status), 'setup' (dependencies, manifest), 'spatial ui' (SpatialPanel, UserSubspace, Orbiter), 'arcore' (face tracking 68 blendshapes, plane detection), 'compatibility' (XR + non-XR same app pattern).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| topic | No | Topic: 'overview', 'setup', 'spatial ui', 'arcore', 'compatibility' |