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

TextUnitType

enum class TextUnitType
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.core.TextUnitType>
   ↳ androidx.ui.core.TextUnitType

An enum class defining for type of thextUnit.

Summary

Enum values

Enum values

Em

enum val Em : TextUnitType

Inherit

enum val Inherit : TextUnitType

Sp

enum val Sp : TextUnitType