解决Dialog中EditView无法触发软键盘问题

在AlertDialog中加入EditView后,无法触发软键盘进行输入,加入下面代码可解决:

checkinDialog.getWindow().clearFlags(WindowManager.LayoutParams.FLAG_ALT_FOCUSABLE_IM);

原文地址:https://www.cnblogs.com/highfly2012/p/3098796.html