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

TextUnitType

enum class TextUnitType
kotlin.Any
   ↳ kotlin.Enum<androidx.ui.unit.TextUnitType>
   ↳ androidx.ui.unit.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