[android-components](../index.md) / [mozilla.components.support.ktx.android.view](index.md) / [hideKeyboard](./hide-keyboard.md)

# hideKeyboard

`fun <ERROR CLASS>.hideKeyboard(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/ktx/src/main/java/mozilla/components/support/ktx/android/view/View.kt#L49)

Hides the soft input window.

