# androidx.tv.foundation.text

## Enums

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/TvKeyboardAlignment` | Represents the TV keyboard alignment options available for TextField(s). |

## Top-level functions summary

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/PlatformImeOptions` | `@https://developer.android.com/reference/kotlin/androidx/tv/foundation/ExperimentalTvFoundationApi https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/package-summary#PlatformImeOptions(androidx.tv.foundation.text.TvKeyboardAlignment)(horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/TvKeyboardAlignment)` Additional IME configuration options supported for TV. |

## Extension functions summary

|---|---|
| `https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/PlatformImeOptions` | `@https://developer.android.com/reference/kotlin/androidx/tv/foundation/ExperimentalTvFoundationApi https://developer.android.com/reference/kotlin/androidx/compose/ui/text/input/PlatformImeOptions.https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/package-summary#(androidx.compose.ui.text.input.PlatformImeOptions).keyboardAlignment(androidx.tv.foundation.text.TvKeyboardAlignment)( horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/TvKeyboardAlignment )` Adds the keyboard alignment option to the private IME configuration options. |

## Top-level functions

### PlatformImeOptions

Artifact: [androidx.tv:tv-foundation](https://developer.android.com/jetpack/androidx/releases/tv) [View Source](https://cs.android.com/search?q=file:androidx/tv/foundation/text/TvImeOptions.kt+function:PlatformImeOptions) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
@ExperimentalTvFoundationApi
fun PlatformImeOptions(horizontalAlignment: TvKeyboardAlignment): PlatformImeOptions
```

Additional IME configuration options supported for TV.

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

| Parameters |
|---|---|
| `horizontalAlignment: https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/TvKeyboardAlignment` | defines the horizontal alignment `https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/TvKeyboardAlignment` option for keyboard. |

## Extension functions

### PlatformImeOptions.keyboardAlignment

Artifact: [androidx.tv:tv-foundation](https://developer.android.com/jetpack/androidx/releases/tv) [View Source](https://cs.android.com/search?q=file:androidx/tv/foundation/text/TvImeOptions.kt+function:keyboardAlignment) Added in [1.0.0](https://developer.android.com/jetpack/androidx/releases/tv#1.0.0)

```
@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: https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/TvKeyboardAlignment` | defines the horizontal alignment `https://developer.android.com/reference/kotlin/androidx/tv/foundation/text/TvKeyboardAlignment` option for keyboard. |