title: Close/hide the Android Soft Keyboard with Kotlin
body: <p>I'm trying to write a simple Android app in Kotlin. I have an EditText and a Button in my layout. After writing in the edit field and clicking on the Button, I want to hide the virtual keyboard. </p>
  
  <p>There is a <strong>popular question</strong> <a href="https://stackoverflow.com/questions/1109022/close-hide-the-android-soft-keyboard">Close/hide the Android Soft Keyboard</a> about doing it in Java, but as far as I understand, there should be an alternative version for Kotlin. How should I do it?</p>