Android-Change Edittext after each change
问题 how can i add Char such as this dash '-' after each change in edtitext for example if the user enter A then the text in edittext will be A- then the user will complete and enter Char B then the edittext will be A-B How to implement this ? thanks name = (EditText)findViewById(R.id.editText1); name.addTextChangedListener(new TextWatcher(){ public void afterTextChanged(Editable s) { name.setText("-"); } public void beforeTextChanged(CharSequence s, int start, int count, int after){} public void