Function

fillHeight

Sets the height of the component to fill the parent's available height (equivalent to height(1.0f)).

fillHeight

Source set: Common
public fun SizeScope.fillHeight()

Sets the height of the component to fill the parent's available height (equivalent to height(1.0f)). The specified height includes any padding.

This property is not inherited

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: