Hi All,

   I have a small problem. In my activity i have a edittext and
button. Clicking on button I am changing the inputtype of the
edittext. Now whats when i click button the input type changes but the
cursor goes to the begining of the text in edittext. Can i retain the
same position of the cursor or can i bring the cursor to the end of
the text.
       I tried setSelection(edittextobj.getText().length()) but
doesnot work how can i achive this....

-- 
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.

NEW! Try asking and tagging your question on Stack Overflow at
http://stackoverflow.com/questions/tagged/android

To unsubscribe from this group, send email to
android-beginners+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en

Reply via email to