androidx.xr.compose.material3

Compose Material3 XR

Interfaces

XrComponentOverrideEnabler

Interface that a client can provide to enable/disable XR overrides on a per-component basis.

XrComponentOverrideEnablerContext

Information about the current XR environment.

Classes

HorizontalOrbiterProperties

XR-specific properties for components that use horizontally-aligned Orbiters.

VerticalOrbiterProperties

XR-specific properties for components that use vertically-aligned Orbiters.

XrComponentOverride

The set of Material Components that can be overridden on XR.

Objects

SpaceToggleButtonDefaults

Contains the default values used by SpaceToggleButton.

Annotations

Composables

BasicAlertDialog

Basic alert dialog dialog.

EnableXrComponentOverrides

Clients can wrap their Compose hierarchy in this function to dynamically enable XR components when in the proper environment.

HorizontalFloatingToolbar

A horizontal floating toolbar displays navigation and key actions in a Row.

NavigationBar

Material Design bottom navigation bar.

NavigationRail

Material Design bottom navigation rail.

NavigationSuiteScaffold

XR-specific Navigation Suite Scaffold that wraps its content in a SpatialPanel.

ShortNavigationBar

XR-specific Material Design short navigation bar.

SpaceToggleButton

A composable button that toggles between "Full Space" and "Home Space" in an Android XR application.

ThreePaneScaffold

A pane scaffold composable that can display up to three panes in the order that ThreePaneScaffoldHorizontalOrder specifies, and allocate margins and spacers according to PaneScaffoldDirective.

VerticalFloatingToolbar

XR-specific Vertical Floating Toolbar that displays content in a Column in an end-aligned VerticalOrbiter.

WideNavigationRail

XR-specific Material design wide navigation rail.

Top-level properties summary

HorizontalOrbiterProperties

The default HorizontalOrbiterProperties used by HorizontalFloatingToolbar if none is specified in LocalHorizontalFloatingToolbarOrbiterProperties.

HorizontalOrbiterProperties

The default HorizontalOrbiterProperties used by NavigationBar if none is specified in LocalNavigationBarOrbiterProperties.

VerticalOrbiterProperties

The default VerticalOrbiterProperties used by NavigationRail if none is specified in LocalNavigationRailOrbiterProperties.

HorizontalOrbiterProperties

The default HorizontalOrbiterProperties used by XR TopAppBar if none is specified in LocalSingleRowTopAppBarOrbiterProperties.

HorizontalOrbiterProperties

The default HorizontalOrbiterProperties used by XR TopAppBar if none is specified in LocalTwoRowsTopAppBarOrbiterProperties.

VerticalOrbiterProperties

The default VerticalOrbiterProperties used by VerticalFloatingToolbar if none is specified in LocalVerticalFloatingToolbarOrbiterProperties.

VerticalOrbiterProperties

The default VerticalOrbiterProperties used by WideNavigationRail if none is specified in LocalWideNavigationRailOrbiterProperties.

ProvidableCompositionLocal<HorizontalOrbiterProperties>

The HorizontalOrbiterProperties used by HorizontalFloatingToolbar.

ProvidableCompositionLocal<HorizontalOrbiterProperties>

The HorizontalOrbiterProperties used by NavigationBar.

ProvidableCompositionLocal<VerticalOrbiterProperties>

The VerticalOrbiterProperties used by NavigationRail.

ProvidableCompositionLocal<HorizontalOrbiterProperties>

The HorizontalOrbiterProperties used by ShortNavigationBar.

ProvidableCompositionLocal<HorizontalOrbiterProperties>

The HorizontalOrbiterProperties used by XR TopAppBar.

ProvidableCompositionLocal<HorizontalOrbiterProperties>

The HorizontalOrbiterProperties used by XR TopAppBar.

ProvidableCompositionLocal<VerticalOrbiterProperties>

The VerticalOrbiterProperties used by VerticalFloatingToolbar.

ProvidableCompositionLocal<VerticalOrbiterProperties>

The VerticalOrbiterProperties used by WideNavigationRail.

Top-level properties