Move cursor to end of EditText?
<p>I'm replacing some text in an EditText, then I want to move the cursor to the end of the current text input. It kind of seems to work - when I start typing again, the cursor seems to be at the end of the EditText, but it doesn't flash / blink anymore. I have to touch the EditText again for the cursor to start blinking again. Am I doing it wrong?:</p>

<pre><code>editText.setSelection(editText.getText().length()-1);
</code></pre>

<p>Thanks</p>
