I am attempting to change the color of the blinking cursor on the SearchView widget in ICS+. I have tried the following:
-
As per earlier comment:
If you dig into the Android source code, you'll find that mCursorDrawableRes
only gets set once in the 3-param constructor. Unfortunately that means there is no easy way to change it at runtime. Looks like your options may be limited to using reflection, or moving your custom SearchView
into the android.widget
package in order to access the package protected member.