I have SearchView in the top of the layout (not in the action bar), is there anyway to force this View to be always expanded (opened)?
SearchView
View
If n
SearchView searchView = (SearchView) menu.findItem(R.id.menu_search).getActionView(); searchItem.expandActionView();
and in menu file, use
showAsAction="ifRoom|collapseActionView"
If any query, feel free to comment.