What problem does it solve?
This skill helps you design and implement Android XR “projected activity” UIs that render correctly on additive display glasses using Jetpack Compose Glimmer, avoiding common legibility, theming, and interaction pitfalls.
Core Features & Use Cases
- Glimmer-first UI guidelines for display glasses: enforce GlimmerTheme usage, additive display constraints (pure black background), and XR-optimized component choices for display glasses.
- Projected Activity workflow: configure an
xr_projected projected activity and launch/route the glasses-specific UI from the host app using ProjectedContext.
- Interaction and focus model mapping: translate tap and swipe expectations to glasses hardware inputs and manage focus behavior with Glimmer’s one-dimensional focus system.
- Design constraints for legibility and visuals: apply minimum readable text sizing, avoid unsupported shadow/elevation patterns, and use Glimmer depth effects for hierarchy.
- Reference-assisted implementation: includes supporting references for projected context setup, focus behavior, typography configuration, and hardware permission access.
Quick Start
Ask the AI to create a GlimmerTheme-wrapped projected activity that uses a pure black root background and renders the UI with Jetpack Compose Glimmer components for display glasses, then maps tap/swipe interactions to focusable buttons and list items.