I tried to implement a SearchView
in ToolBar
. When I try to use this option to submit my query, the submit button is located inside the ToolBar
. However, I need the button inside the SearchView
.
How can I customise the SearchView
?
Use searchView.setSubmitButtonEnabled(true)
.
This will show default search submit button inside searchview.