0

I want to change cursor bubble color to orange

 <style name="AppTheme" parent="Theme.AppCompat.Light.NoActionBar">
    <item name="colorAccent">@color/orange</item>
    <item name="android:textCursorDrawable">@color/orange</item>
 </style>

Why the color of cursor is not getting changed pls help. Thank you.

Hemant N. Karmur
  • 840
  • 1
  • 7
  • 21
Sachin
  • 21
  • 8

1 Answers1

0

If you set the android:textCursorDrawable attribute to @null, the cursor should take the color of android:textColor.

Reference from : Set EditText cursor color

Maxouille
  • 2,729
  • 2
  • 19
  • 42