0

as you see,we have a wink line in edittext when it gets the focus . I want to change the line color /

I mean the blue line in this image :

enter image description here

How can I change its color ?

Community
  • 1
  • 1
Navid Abutorab
  • 1,667
  • 7
  • 31
  • 58
  • Possible duplicate of [Set EditText cursor color](https://stackoverflow.com/questions/7238450/set-edittext-cursor-color) – ADM May 13 '18 at 05:43

1 Answers1

1

Wink line is technically called cursor. It's color can be with the help of attribute android:textCursorDrawable. Or if you want to have the text and cursor color to be same you can set textCursorDrawable to null as mentioned here

Kruti Parekh
  • 1,271
  • 9
  • 21