how can I make curser disappear when button is clicked in android

82 Views Asked by At

I am trying to make the blinking cursor disappear when the button is clicked in android, and I have no idea how to do than, can anyone help with that.

1

There are 1 best solutions below

0
Anji On BEST ANSWER

Try setting setCursorVisible attribute to false

editText.setCursorVisible(false); 

on Button click.