Turn AutoCompleteTextView into a SearchView in ActionBar instead
I have a AutoCompleteTextView which gives user auto-completion search result from Google Places API . Once I was done I discovered SearchView and how it can be placed in the ActionBar . I checked out the SearchView example provided by google and added it to my application as a starting point (it lists the installed applications) but I don´t know how to proceed from here. I want to have the same functionality as AutoCompleteTextView but use the SearchView instead. Any suggestion? The whole class is provided below. import java.io.BufferedReader; import java.io.IOException; import java.io