Disable EditText blinking cursor

Kevin Parker picture Kevin Parker · Apr 7, 2011 · Viewed 123.5k times · Source

Does anyone know how to disable the blinking cursor in an EditText view?

Answer

Vic picture Vic · Apr 29, 2011

You can use either the xml attribute android:cursorVisible="false" or the java function setCursorVisible(false).