Set EditText cursor color

后端 未结 24 1644
醉话见心
醉话见心 2020-11-22 10:57

I am having this issue where I am using the Android\'s Holo theme on a tablet project. However, I have a fragment on screen which has a white background. I am adding an

24条回答
  •  [愿得一人]
    2020-11-22 11:40

    Setting the android:textCursorDrawable attribute to @null should result in the use of android:textColor as the cursor color.

    Attribute "textCursorDrawable" is available in API level 12 and higher

提交回复
热议问题