private boolean checkValue() { String wechat = wechatEditText.getText().toString().trim(); if (TextUtils.isEmpty(wechat)) { Toast.makeText(this, "请输入微信号", Toast.LENGTH_SHORT).show(); ActivityUtil.shakeView(wechatEditText); return false; } return true; }