EditText cursor is invisible in Android 4.0

前端 未结 11 1229
逝去的感伤
逝去的感伤 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:36

    Add this line for your edit text in the xml file.

    android:textCursorDrawable="@null"
    

提交回复
热议问题