I've followed this code to implement SearchView
inside ActionBar
(as an item inside the menu).
But when i reach this line
mSearchView = (SearchView) menu.findItem(R.id.action_search).getActionView();
getActionView()
return a null
value.
I can't figure out what is wrong.