Function

height

Sets the absolute height of an element, in Dp.

height

Source set: Android
public fun GlanceModifier.height(height: Dp): GlanceModifier

Sets the absolute height of an element, in Dp.

height

Source set: Android
public fun GlanceModifier.height(@DimenRes height: Int): GlanceModifier

Set the height of the view from a resource.

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: