I want to remove 7 characters from edittext on one click of romve text listener in android please give reliable solution.
Asked
Active
Viewed 580 times
-1
-
http://stackoverflow.com/questions/9082750/android-keylistener-of-edittext-not-working – Prasad Aug 07 '15 at 07:10
2 Answers
0
You can handle backspace click events and remove the number of characters as required. Refer link on how to handle backspace button events.

Community
- 1
- 1

Anitha Manikandan
- 1,160
- 7
- 19
0
check out TextWatcher, it have methods you want like beforeTextChanged(CharSequence s, int start, int count, int after)

snachmsm
- 17,866
- 3
- 32
- 74