androidx.tv.foundation.text

Enums

TvKeyboardAlignment

Represents the TV keyboard alignment options available for TextField(s).

Top-level functions summary

<Error class: unknown class>

Additional IME configuration options supported for TV.

Extension functions summary

PlatformImeOptions

Adds the keyboard alignment option to the private IME configuration options.

Top-level functions

PlatformImeOptions

@ExperimentalTvFoundationApi
fun PlatformImeOptions(horizontalAlignment: TvKeyboardAlignment): <Error class: unknown class>

Additional IME configuration options supported for TV.

It is not guaranteed if IME will comply with the options provided here.

Parameters
horizontalAlignment: TvKeyboardAlignment

defines the horizontal alignment TvKeyboardAlignment option for keyboard.

Extension functions

keyboardAlignment

@ExperimentalTvFoundationApi
fun PlatformImeOptions.keyboardAlignment(
    horizontalAlignment: TvKeyboardAlignment
): PlatformImeOptions

Adds the keyboard alignment option to the private IME configuration options.

It is not guaranteed if IME will comply with the options provided here.

Parameters
horizontalAlignment: TvKeyboardAlignment

defines the horizontal alignment TvKeyboardAlignment option for keyboard.