<div class='type'>Function</div>


<a id='references'></a>


<h2 id="keyboardalignment-horizontalalignment">keyboardAlignment</h2>

<div class='sourceset sourceset-android'>Android</div>


```kotlin
@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 | defines the horizontal alignment `TvKeyboardAlignment` option for keyboard. |