title: Android - How to hide soft keyboard from dialog with multiple EditTexts when clicking outside any one of them?
body: <p>I was wondering, in a Dialog with multiple EditTexts, is there any way to hide the soft keyboard if the user clicks outside any one of them?  This dialog has a LOT of EditTexts, and I would like an easy way for the user to hide the soft keyboard.  </p>
  
  <p>Since the EditTexts are in the form of a table, I prefer not to use <code>imeOptions="actionDone"</code> for every single EditText, since there are times when the user needs to enter data in an entire column.  However, if the user only needs to enter partial data, I would like it where the user can click outside of any EditText and hide the soft keyboard.</p>
  
  <p>I have looked up several solutions here, but none of them seem to work for my scenario.  They only seem to work in an activity.</p>