title: How to build Gmail like search box in the action bar?
body: <p>I am currently using <code>SearchView</code> widget inside <code>ActionBarcompat</code> to filter a list while searching.  </p>
  
  <p>When the user starts entering text the ListView in the main layout updates with an Adapter to filter the results. I do this by implementing a <code>OnQueryTextListener</code> and filter the results on each key stroke.</p>
  
  <p>Instead, I want to create a Gmail like search box with auto suggest list generated and no changes to the underlying view</p>
  
  <p><img src="https://i.stack.imgur.com/y9ofu.png" alt="enter image description here"></p>
  
  <p>I have went through <a href="http://developer.android.com/guide/topics/search/index.html" rel="noreferrer">this tutorial</a> that uses the <code>SearchView</code> component but it requires a <em>searchable</em> activity. I want the drop-down to be over the MainActivity where I have the ListView (like in the Gmail app) and not a dedicated Activity.<br>
  Besides, implementing it the same way as in the tutorial seems like an overkill for what I want (just a dropdown)</p>