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 |
VerticalOrbiterProperties |
XR-specific properties for components that use vertically-aligned |
XrComponentOverride |
The set of Material Components that can be overridden on XR. |
Objects
SpaceToggleButtonDefaults |
Contains the default values used by |
Annotations
Composables
BasicAlertDialog |
|
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 |
NavigationBar |
|
NavigationRail |
|
NavigationSuiteScaffold |
XR-specific Navigation Suite Scaffold that wraps its content in a |
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 |
VerticalFloatingToolbar |
XR-specific Vertical Floating Toolbar that displays content in a |
WideNavigationRail |
XR-specific Material design wide navigation rail. |
Top-level properties summary
Top-level properties
DefaultHorizontalFloatingToolbarOrbiterProperties
val DefaultHorizontalFloatingToolbarOrbiterProperties: HorizontalOrbiterProperties
The default HorizontalOrbiterProperties used by HorizontalFloatingToolbar if none is specified in LocalHorizontalFloatingToolbarOrbiterProperties.
DefaultNavigationBarOrbiterProperties
@ExperimentalMaterial3XrApi
val DefaultNavigationBarOrbiterProperties: HorizontalOrbiterProperties
The default HorizontalOrbiterProperties used by NavigationBar if none is specified in LocalNavigationBarOrbiterProperties.
DefaultNavigationRailOrbiterProperties
@ExperimentalMaterial3XrApi
val DefaultNavigationRailOrbiterProperties: VerticalOrbiterProperties
The default VerticalOrbiterProperties used by NavigationRail if none is specified in LocalNavigationRailOrbiterProperties.
DefaultSingleRowTopAppBarOrbiterProperties
@ExperimentalMaterial3XrApi
val DefaultSingleRowTopAppBarOrbiterProperties: HorizontalOrbiterProperties
The default HorizontalOrbiterProperties used by XR TopAppBar if none is specified in LocalSingleRowTopAppBarOrbiterProperties.
DefaultTwoRowsTopAppBarOrbiterProperties
@ExperimentalMaterial3XrApi
val DefaultTwoRowsTopAppBarOrbiterProperties: HorizontalOrbiterProperties
The default HorizontalOrbiterProperties used by XR TopAppBar if none is specified in LocalTwoRowsTopAppBarOrbiterProperties.
DefaultVerticalFloatingToolbarOrbiterProperties
val DefaultVerticalFloatingToolbarOrbiterProperties: VerticalOrbiterProperties
The default VerticalOrbiterProperties used by VerticalFloatingToolbar if none is specified in LocalVerticalFloatingToolbarOrbiterProperties.
DefaultWideNavigationRailOrbiterProperties
@ExperimentalMaterial3XrApi
val DefaultWideNavigationRailOrbiterProperties: VerticalOrbiterProperties
The default VerticalOrbiterProperties used by WideNavigationRail if none is specified in LocalWideNavigationRailOrbiterProperties.
LocalHorizontalFloatingToolbarOrbiterProperties
val LocalHorizontalFloatingToolbarOrbiterProperties: ProvidableCompositionLocal<HorizontalOrbiterProperties>
The HorizontalOrbiterProperties used by HorizontalFloatingToolbar.
LocalNavigationBarOrbiterProperties
@ExperimentalMaterial3XrApi
val LocalNavigationBarOrbiterProperties: ProvidableCompositionLocal<HorizontalOrbiterProperties>
The HorizontalOrbiterProperties used by NavigationBar.
LocalNavigationRailOrbiterProperties
@ExperimentalMaterial3XrApi
val LocalNavigationRailOrbiterProperties: ProvidableCompositionLocal<VerticalOrbiterProperties>
The VerticalOrbiterProperties used by NavigationRail.
LocalShortNavigationBarOrbiterProperties
@ExperimentalMaterial3XrApi
val LocalShortNavigationBarOrbiterProperties: ProvidableCompositionLocal<HorizontalOrbiterProperties>
The HorizontalOrbiterProperties used by ShortNavigationBar.
LocalSingleRowTopAppBarOrbiterProperties
@ExperimentalMaterial3XrApi
val LocalSingleRowTopAppBarOrbiterProperties: ProvidableCompositionLocal<HorizontalOrbiterProperties>
The HorizontalOrbiterProperties used by XR TopAppBar.
LocalTwoRowsTopAppBarOrbiterProperties
@ExperimentalMaterial3XrApi
val LocalTwoRowsTopAppBarOrbiterProperties: ProvidableCompositionLocal<HorizontalOrbiterProperties>
The HorizontalOrbiterProperties used by XR TopAppBar.
LocalVerticalFloatingToolbarOrbiterProperties
val LocalVerticalFloatingToolbarOrbiterProperties: ProvidableCompositionLocal<VerticalOrbiterProperties>
The VerticalOrbiterProperties used by VerticalFloatingToolbar.
LocalWideNavigationRailOrbiterProperties
@ExperimentalMaterial3XrApi
val LocalWideNavigationRailOrbiterProperties: ProvidableCompositionLocal<VerticalOrbiterProperties>
The VerticalOrbiterProperties used by WideNavigationRail.