换行隐藏软键盘
etPwd.setOnKeyListener(new OnKeyListener() {
@Override
public boolean onKey(View v, int keyCode, KeyEvent event) {
if (keyCode == KeyEvent.KEYCODE_ENTER) {
CebTools.hideSoftInput(LoginActivity.this, etPwd);
}
return false;
}
});
泰山崩于前而色不变的曹新雨,抱歉