-1

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
  • 914
  • 1
  • 7
  • 21
Sachin
  • 11
  • 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,480
  • 2
  • 17
  • 40