Reset action bar after using SearchView
问题 I'm using SearchView widget to enable searching in my app. After the initial click on the search icon, the SearchView widget expands into the search field and the "back" arrow is shown next to the application icon. If I click the application icon the action bar reverts to the initial state (no "back" arrow) and the SearchView reverts back to icon. Now the problem: after the search is executed the action bar doesn't change, the only way to revert is to click the application icon or phone's