I wanted to know how you can keep a SearchView widget always on top of the screen instead of calling it every time we press the search button.
I’ve added the onSearchRequested to keep it visible by default in my activity but as I transition from one activity to another it returns to its original form i.e appears when the search button is tapped.
How do I keep it visible permanently?
Found the soln. by simply calling the function again in onResume();