EditText cursor is invisible in Android 4.0

前端 未结 11 1233
逝去的感伤
逝去的感伤 2020-12-14 09:16

I have an EditText input in Android 4.0 and the Cursor is not showing inside it.

What can make the cursor not appear in the input field?

11条回答
  •  一生所求
    2020-12-14 09:25

    Make android:cursorVisible="true"

    and

    If you have used android:textColor then set the android:textCursorDrawable attribute to @null.

    Happy coding ;)

提交回复
热议问题