Change the color of the cursor of an EditText in Android 3.0
问题 I have to have an EditText in my application with a white background. I did this in my theme.xml file <style name="myEditText" parent="@android:style/Widget.EditText"> <item name="android:background">#ffffffff</item> <item name="android:textColor">#ff000000</item> </style> The problem now is that the cursor is still white and therefore not visible. I did some googling and found this question here on StackOverflow: Set EditText cursor color The way it's done there is the android