Using the following code, I am able to move the cursor after the first character on the left in an EditText:
EditText editText = new EditText(this); Editable etext = editText.getText(); Selection.setSelection(etext, 1); However, if I change it to Selection.setSelection(etext, 0) with the goal of moving the cursor to the beginning of the text, it moves the cursor (or doesn't move the cursor) to the end of the line instead of the beginning. How can I move the cursor to the beginning of the text? -- Adam Olsen SendOutCards.com http://www.vimtips.org http://last.fm/user/synic -- 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

