Composable Function

AndroidLayoutElement

Add LayoutElementBuilders.LayoutElement into the glance composition.

AndroidLayoutElement

Source set: Android
@Deprecated("glance-wear-tiles is deprecated and will be removed")
@Composable
@Suppress("deprecation") // For backwards compatibility.
public fun AndroidLayoutElement(
    layoutElement: androidx.wear.tiles.LayoutElementBuilders.LayoutElement
)

Add LayoutElementBuilders.LayoutElement into the glance composition.

Parameters

layoutElement the layout element to add to the composition
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: