Any ideas...? Using import androidx.fragment.app.DialogFragment, I want to close the dialog when the user touches it. Touch outside dialog closes the dialog (good). I tried
dialog!!.setCancelable(true) // no effect
dialog!!.onTouchEvent...// not intuitive solution
There is no onClick event and I do not want a button. Thanks