Android Set EditText Cursor Color

To set the EditText in Android you first need to set the textCursorDrawable to null. This is needed for Android 3.2 and up.

android:textCursorDrawable="@null"

Setting this will result in the cursor color will be set to the textColor

android:textColor

 

Posted in Android, Tips and Tricks Tagged with: , ,