Property

DefaultSpatialTopAppBarOrbiterProperties

The default OrbiterProperties used by XR TopAppBar if none is specified in LocalSpatialTopAppBarOrbiterProperties.

Source set: Android
public val DefaultSpatialTopAppBarOrbiterProperties: OrbiterProperties =
    OrbiterProperties(
        position =
            OrbiterPosition.TopCenter(
                EdgeAlignment.Outside,
                offset =
                    DpVolumeOffset(
                        0.dp,
                        XrSingleRowTopAppBarTokens.OrbiterOffset,
                        OrbiterDefaults.Elevation,
                    ),
            ),
        shape = XrTokens.ContainerShape,
    )

The default OrbiterProperties used by XR TopAppBar if none is specified in LocalSpatialTopAppBarOrbiterProperties.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: