If you have created a custom Android EditText class and you see that the color of the Cursor appears to be white you can change it using textCursorDrawable attribute.
You need to set android:textCursorDrawable value as @null, this will set the cursor color as that of the Text.
Do note that android:textCursorDrawable requires minimum SDKI level to be 12 or above.
Example <EditText
android:id="@+id/view"
android:layout_width="fill_parent"
android:layout_height="fill_parent"
android:gravity="top|left"
android:lineSpacingExtra="7dp"
android:textCursorDrawable="@null"
android:textSize="20sp"
android:textColor="#010101"
android:text="Hello"
android:background="@drawable/border"
android:scrollbars="vertical">
</EditText>

Change EditText Cursor Color
More Posts related to Android,
- Check Internet Connection WIFI 4G is active on Android Programmatically
- Android Emulator cannot be opened because the developer cannot be verified. [M1 Mac]
- How to Change Android Toast Position?
- Fail to connect to camera service Android java RuntimeException
- How to create Custom RatingBar Android Programming Tutorial
- Fixing Android unknown error 961 while downloading app
- Android AlertDialog with Yes No and Cancel Button
- Share or Send SMS via Android Intent
- The Android Virtual Device myEmulator is currently running an emulator and cannot be deleted.
- Pass data between two Android Activities and access it using Intent
- SQLite with Android Easy to Understand Tutorial that covers Select, Insert, Update and Delete
- [FIX] AndroidRuntime: FATAL EXCEPTION: main - java.lang.RuntimeException NullPointerException
- Android EditText Cursor Colour appears to be white
- Android Development - How to switch between two Activities
- Android xml error Attribute is missing the Android namespace prefix [Solution]
- Android : Remove ListView Separator/divider programmatically or using xml property
- Android is starting optimizing... app 1 of 1
- java.lang.NoClassDefFoundError android.support.v4.content.LocalBroadcastManager
- AlertDialog with single button example : Android
- Android : Exception raised during rendering: action_bar API 22
- Maven : java.lang.ClassNotFoundException: Xmx512m
- Android Lint app_name is not translated in af (Afrikaans) am (Amharic) ar (Arabic) bg (Bulgarian)
- Center align text in TextView Android Programming
- How to Download and Install Android adb Tool on Linux, Mac or Windows
- Multiline EditText in Android Example
More Posts:
- How to make TextEdit the default text Editor on Mac - MacOS
- Test Timeout using JUnit 4 with examples - Java
- What is Terminal Velocity and its Formula? How to calculate it programmatically? - Python
- Fix - 412 Cookies Are Disabled error in Exchange Admin Center when you click hybrid - Microsoft
- Pass data between two Android Activities and access it using Intent - Android
- Python Sleep Function/Method Code Example - Python
- List of All 35 Reserved Keywords in Python Programming Language 3.11 - Python
- [Fix] brew: command not found Mac or Linux Terminal Error - MacOS