Class

TextFieldLabelPosition.Above

The label is positioned above and outside the text field container.

Source set: Common
public class Above(public val alignment: Alignment.Horizontal = Alignment.Start) :
        TextFieldLabelPosition()

The label is positioned above and outside the text field container. This results in the label always being minimized.

Parameters

alignment The horizontal alignment of the label.
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: