title: How to make SearchView lose focus and collapse when clicking elsewhere on activity
body: <p>In my app, I'm making a <a href="http://developer.android.com/training/search/setup.html" rel="noreferrer">search interface</a> in which the <code>SearchView</code> collapses and expands when it loses and gains focus respectively. However, the losing focus thing is only happening in two cases:</p>
  
  <ol>
  <li><p>When the back button is pressed.</p></li>
  <li><p>When the home icon beside the <code>SearchView</code> is pressed.</p></li>
  </ol>
  
  <p>I want it to lose focus (and hence collapse) if the user clicks not only on these two things, but anywhere else on the screen (e.g., any button or any blank portion of the screen without a view on it).</p>