I'm trying to change the green of the cursor into grey. But it stays green. Any ideas?
<EditText
android:textCursorDrawable="@color/grey"
android:backgroundTint="@android:color/black"/>
I'm trying to change the green of the cursor into grey. But it stays green. Any ideas?
<EditText
android:textCursorDrawable="@color/grey"
android:backgroundTint="@android:color/black"/>
Use this property in EditText
in the xml :
android:textCursorDrawable="@drawable/color_cursor"
You can try to add this to your AppTheme in styles.xml but it will also change color of other EditText elements (cursor and bottom line).
<item name="colorControlActivated">@color/grey</item>