android:imeOptions="flagNoFullscreen" android:imeOptions="flagNoExtractUi" 在EditText中设置这两个属性即可。(两个中的任意一个)