解决方案 在父级节点获取焦点
及
<LinearLayout android:layout_width="match_parent" android:layout_height="match_parent" android:focusable="true" android:focusableInTouchMode="true"> <EditText android:layout_width="wrap_content" android:layout_height="wrap_content" /> </LinearLayout>