我已经在如下onCreate()方法中使用SOFT_INPUT_ADJUST_PAN设置了活动
getWindow().setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_STATE_VISIBLE | WindowManager.LayoutParams.SOFT_INPUT_ADJUST_PAN`
Screenshot Link: Note that soft keyboard is covering the edit text behind it.
当使用AdjustResize而不是AdjustPan时,效果很好。