android:windowSoftInputMode="stateHidden|adjustPan" stateHidden:是隐藏软键盘的 adjustPan:是保证控件不会因为输入法的弹出而发生形变的。