title: Auto Collapse ActionBar SearchView on Soft Keyboard close
body: <p>I am currently using an ActionBar menu item to display a SearchView in the action bar.  When the search menu item is expanded the soft keyboard is displayed which is what I want.  Now, when the user presses the back button to close the soft keyboard, I would also like to collapse the SearchView in the action bar.</p>
  
  <p>I have tried implementing the following listeners OnKeyListener and OnFocusChangeListener on the MenuItem and the ActionView.  I have also tried using OnBackPressed() in the Activity.  None of the above detect when the back button is used to close the soft keyboard.</p>
  
  <p>Any ideas?</p>
  
  <p>I have implemented OnActionExpandListener to know when the SearchView is visible.</p>