Fix bug causing cancellation of dialog fragment.

This commit is contained in:
Alex Hart
2022-04-14 14:54:40 -03:00
committed by Greyson Parrelli
parent 8da66bc789
commit c3e7d6c74c
2 changed files with 2 additions and 9 deletions

View File

@@ -35,7 +35,7 @@ abstract class KeyboardEntryDialogFragment(@LayoutRes contentLayoutId: Int) :
dialog.window?.setDimAmount(0f)
}
dialog.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE)
dialog.window?.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE or WindowManager.LayoutParams.SOFT_INPUT_STATE_ALWAYS_VISIBLE)
return dialog
}