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.
Since the EditTexts are in the form of a table, I prefer not to use imeOptions="actionDone"
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.
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.