I wrote a TextWatcher for EditText view. In method
@Override
public void onTextChanged(CharSequence s, int start, int before, int count) {
String str = mTxtView.getText().toString();
if ((str.length() == 2 && len < str.length())) {
mTxtView.append("/");
}
}
nothing happend;
Changing
mTxtView.append("/");
with
mTxtView.setText(str+"/");
is not suits me, because cursor jumps to 1st position in EditText.