输入手机号码时,自动添加空格,更容易辨别 public class PhoneWatcher implements TextWatcher { private EditText _text; public PhoneWatcher(EditText _text) { this._text = _text; } @Override public void beforeTextChanged(CharSequence s, int start, int count, int after) { } @