title: Custom cursor color in SearchView
body: <p>I want to change the color of the blinking cursor in a <a href="http://developer.android.com/reference/android/widget/SearchView.html" rel="nofollow noreferrer">SearchView</a> in the Actionbar (I'm using Actionbar Sherlock for compatibility). Until now I've managed to change the color of the cursor for a EditText element. <a href="https://stackoverflow.com/questions/7238450/set-edittext-cursor-color">This SO post</a> helped me to accomplish that and the style I'm using for the EditText looks like this:</p>
  
  <pre><code>&lt;style name="CustomTheme" parent="Theme.Sherlock.Light"&gt;
      &lt;item name="android:editTextStyle"&gt;@style/edittext_style&lt;/item&gt;
  &lt;/style&gt;
  
  &lt;style name="edittext_style" parent="@android:style/Widget.EditText"&gt;
      &lt;item name="android:textCursorDrawable"&gt;@drawable/red_cursor&lt;/item&gt;
  &lt;/style&gt;
  </code></pre>
  
  <p>The red cursor looks like this:</p>
  
  <pre><code>&lt;shape xmlns:android="http://schemas.android.com/apk/res/android" 
         android:shape="rectangle" &gt;
      &lt;gradient android:startColor="@color/darkRed" 
                android:endColor="@color/darkRed" /&gt;
      &lt;size android:width="1dp" /&gt;
  &lt;/shape&gt;
  </code></pre>
  
  <p>I did take a look at the implementation of the SearchView widget and as I though it uses an <a href="http://developer.android.com/reference/android/widget/AutoCompleteTextView.html" rel="nofollow noreferrer">AutoCompleteTextView</a> for the text input. Since the AutoCompleteTextView is derived from the EditText widget, I don't really understand why the style is working for the EditText but not for the AutoCompleteTextView (and therefore for the SearchView). </p>
  
  <p>Has anyone managed to change the color of the cursor in the SearchView widget?</p>