I want to put the search in the application toolbar. Thus, the user has a default toolbar with a search action icon. When you click on it, the toolbar should resize and increase or more alternative slides on top. It should display a search field and other controls in it. When you exit the search, the toolbar will resize to the default or pop up.
Google Maps uses something similar (not really, maybe it's not a toolbar at all, but it looks like) when you click on the blue float button:

Is there any best practice for this? How to do it?
source
share