Android EditText cursor

This question already has an answer here:

  • Stop EditText from gaining focus at Activity startup 46 answers

  • Disabling a text box makes it unclickable.

    If you want to start your app but the cursor no to be sitting and blinking on it until the user clicks it then just change your setFoucs to something else. Or change up tab orders.

    The best solution is to create a new textbox which is always not visible. then set focus to it upon load. They describe this method in this question Stop EditText from gaining focus at Activity startup

    Voila!

    链接地址: http://www.djcxy.com/p/24178.html

    上一篇: Android工作室EditText可点击

    下一篇: Android EditText游标