I have an ActionBar with a SearchView.
I want the search view to always be "open" (expanded). Doing that is possible using
mSearchView.setIconifiedByDefault(false);
But it for some reason moves the search icon outside of the text area:
If I don't use setIconifiedByDefault(), it looks like I want it to look when it is expanded:
But then it collapses into a search icon on back, and also
MenuItemCompat.expandActionView(searchItem);
Does not seem to help.
Is there a way to achieve what I want?