> How hard did you look? While I admit the solution is a little less than
> obvious all I did was search for "android EditText cursor position" and
> found the answer.
>
> http://tinyurl.com/6fcveor
I know, the problem is this doesn't work. suppose my class extends
edittext and then:
this.setText(""+this.getText()+newChar);
this.setSelection(this.getText().lenght());
this.moveCursorToVisibleOffset();
looks nice, but for some reason the cursor rests blinking at the last
enter (new line, 0xA). Every new line the cursor always stay onto the
end of previous line.
--
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en