title: Hint in Search Widget within Action Bar is not showing up
body: <p>I have a  Search Widget within an Action Bar. I have set up an android:hint value however It is not showing up when I click on the Search Icon. </p>
  
  <p>Relevant Files : </p>
  
  <p>MainActivity.java</p>
  
  <pre><code> package com.example.myApp;
  
  import android.os.Bundle;
  import android.app.ActionBar;
  import android.app.Activity;
  import android.app.SearchManager;
  import android.content.Context;
  import android.view.Menu;
  import android.widget.SearchView;
  
  public class MainActivity extends Activity {
  
  @Override
  protected void onCreate(Bundle savedInstanceState) {
      super.onCreate(savedInstanceState);
      setContentView(R.layout.activity_main);
  
      //creates an action bar. 
      ActionBar actionBar = getActionBar();
      //sets the homebutton. 
      actionBar.setDisplayHomeAsUpEnabled(true);
  }
  
  
  @Override
  public boolean onCreateOptionsMenu(Menu menu) {
      // Inflate the menu; this adds items to the action bar if it is present.
      getMenuInflater().inflate(R.menu.main, menu);
  
      // Associate searchable configuration with the SearchView
      SearchManager searchManager = (SearchManager) getSystemService(Context.SEARCH_SERVICE);
      SearchView searchView = (SearchView) menu.findItem(R.id.search).getActionView();
      searchView.setSearchableInfo(searchManager.getSearchableInfo(getComponentName()));
      return true;
    }   
  }
  </code></pre>
  
  <p>Main.xml => res/menu/Main.xml</p>
  
  <pre><code>&lt;menu xmlns:android="http://schemas.android.com/apk/res/android"&gt;
  
  
      &lt;item android:id="@+id/search"
            android:title="@string/search_title"
            android:icon="@drawable/ic_search"
            android:showAsAction="collapseActionView|ifRoom"
            android:actionViewClass="android.widget.SearchView"       
            /&gt;
  &lt;/menu&gt;
  </code></pre>
  
  <p>searchable.xml => res/XML/searchable.XMl</p>
  
  <pre><code> &lt;?xml version="1.0" encoding="UTF-8"?&gt;
  
      &lt;searchable xmlns:android="http://schemas.android.com/apk/res/android"
          android:label="@string/app_name"
          android:hint="search"
          android:textColorHint= "#FF0000"      
      /&gt;  
  </code></pre>
  
  <p>Mainfest.XMl</p>
  
  <pre><code>&lt;?xml version="1.0" encoding="utf-8"?&gt;
  &lt;manifest xmlns:android="http://schemas.android.com/apk/res/android"
      package="com.example.MyApp"
      android:versionCode="1"
      android:versionName="1.0" &gt;
  
      &lt;uses-sdk
          android:minSdkVersion="11"
          android:targetSdkVersion="17" /&gt;
  
      &lt;application
          android:allowBackup="true"
          android:icon="@drawable/ic_launcher"
          android:label="@string/app_name"
          android:theme="@style/AppTheme" &gt;
          &lt;activity
              android:name="com.example.MyApp.MainActivity"
              android:label="@string/app_name" &gt;
  
               &lt;meta-data android:name="android.app.searchable"
              android:resource="@xml/searchable" /&gt;
              &lt;intent-filter&gt;
                  &lt;action android:name="android.intent.action.MAIN" /&gt;
  
                  &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
              &lt;/intent-filter&gt;
          &lt;/activity&gt;
      &lt;/application&gt;
  
  &lt;/manifest&gt;
  </code></pre>
  
  <p>My attempt : </p>
  
  <p>My action-bar has a black background so I assumed that I initially could not see the :hint value as the hint text color is black is as well. However even after changing the hintTextColor, I still can not see the hint value.</p>
  
  <p>Any ideas?</p>
  
  <p>Thanks.</p>