The Developer Preview for Android 11 is now available; test it out and share your feedback.

TextOverflow

enum class TextOverflow
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.text.style.TextOverflow>
   ↳ androidx.ui.text.style.TextOverflow

How overflowing text should be handled.

Summary

Enum values

Clip the overflowing text to fix its container.

Use an ellipsis to indicate that the text has overflowed.

Inherited extension functions

From androidx.compose
operator T

IMPORTANT: This global operator is TEMPORARY, and should be removed whenever an answer for contextual composers is reached.

Enum values

Clip

enum val Clip : TextOverflow

Clip the overflowing text to fix its container.

Ellipsis

enum val Ellipsis : TextOverflow

Use an ellipsis to indicate that the text has overflowed.