像ListView一样移除控件焦点
android:focusable="false"
或者
直接设置父布局
android:descendantFocusability="blocksDescendants"
都会导致点击EditText无法弹出软键盘。
所以,这里的解决方法是,设置父布局
android:focusable="true"
android:focusableInTouchMode="true"
focusable设置可获取焦点
focusableInTouchMode设置触摸获取焦点