Android hide keyboard but a cursor stays on screen
Good morning!
On an开发者_如何学运维 app that I'm working on, I hide the soft keyboard and have a dark overlay appear on screen. The issue I'm having is that after the keyboard is hidden, there is still a little indicator/cursor on the EditText.
How can I hide this?
Many thanks!
You can use either the xml attribute android:cursorVisible or the java function setCursorVisible(boolean).
精彩评论