How to Put Search Bar on Top in Android: Quick Steps
How do I place the search bar at the top of my Android screen? The quickest way is to put your SearchView or search widget inside the Toolbar/AppBar layout (or the top container) so it renders before the rest of your views. You will only need your current activity layout XML and a few minutes...