title: Finish activity on Android back button press, even when soft keyboard is open
body: <p>In my activity, the soft keyboard should more or less always be open. So when a user presses the back button, the activity should finish like normally. However, the default Android behavior is to close the keyboard instead when it is open. This makes the user have to click twice to exit the activity. How can I override this behavior so that the activity always finishes when the back button is pressed, even when the soft keyboard is open? Is there some simple way to do this?</p>
  
  <p>I'm sure this is a common problem, but I did not find this direct question. </p>