1

Split edittext line using textwatcher in android

view story
linux-howto

http://stackoverflow.com – I have a layout, which i have cretaed dynamically. it has a multi-line Edittext, i have applied a text watcher on edittext so that when user is entering any text edit text line gets split after every ten characters. To do this, i have created a text watcher like this- TextWatcher watcher = new TextWatcher() { // TextWatcher for autosave // feature public void onTextChanged(CharSequence s, int start, int before, int count) { } public void beforeTextChanged(CharSequence s, int start, int count, int after) { } public void afterTextChanged(Editable s) { St (HowTos)