title: How to implement Voice search to SearchView
body: <p>I want to add voice search function to my application. I'm populating a SearchView in SherlockActivity. But I  can't find a solution to add voice search function to SearchView object.</p>
  
  <p>Can you please give an advice, what do I need to do?</p>
  
  <p>Code below : </p>
  
  <pre><code>    public class MainActivity extends SherlockActivity {
          private SlidingMenu slidingMenu;
          private SlidingMenu slidingMenuRight;
          private String mFilterArrays[];
          public long lastScrollTime=0; /** En son kaydırma ne zaman yapıldı*/
          @Override
          protected void onCreate(Bundle savedInstanceState) {
              super.onCreate(savedInstanceState);
              setContentView(R.layout.activity_main);
      }   
  
          public boolean onCreateOptionsMenu(Menu menu) {
  
                      //Create the search view
                      SearchView searchView = new SearchView(getSupportActionBar().getThemedContext());
                      searchView.setQueryHint("Search...");
  
  
                      menu.add("Search")
                          .setIcon(R.drawable.ic_search_inverse)
                          .setActionView(searchView)
                          .setShowAsAction(MenuItem.SHOW_AS_ACTION_IF_ROOM | MenuItem.SHOW_AS_ACTION_COLLAPSE_ACTION_VIEW);
                          return true;
      }
  }
  </code></pre>
  
  <p>Mainfest</p>
  
  <pre><code>&lt;activity
      android:name="com.paea.bcp.MainActivity"
      android:label="@string/app_name" &gt;
      &lt;intent-filter&gt;
          &lt;action android:name="com.paea.bcp.MainActivity" /&gt;
          &lt;category android:name="android.intent.category.DEFAULT" /&gt;
          &lt;action android:name="android.intent.action.SEARCH" /&gt;                
      &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>