With old appcompat we used SearchView in ActionBar and When I press Back Button I would collapse the SearchView.
But now I switched to Appcompat v21 and use ToolBar instead of it. But now SearchView does not collapse when I press Back button.
How can I solve this problem?
Best Regards.