How to Remove Blinking Cursor of Android Edittext



We can remove blinking cursor by using following steps

//xml file
<EditText android:layout_width="wrap_content" android:layout_height="wrap_content" android:id="@+id/editText" />

//In Java
EditText edittext=(EditText)findViewById(R.id.editText);

editText.setCursorVisible(false);


Previous
Next Post »