Reputation: 842
I am trying to implement a text box that, when the user types something, it asynchronously expands a drop-down menu that contains suggestions, much like how the Google search bar shows predictive search queries. In other words, combining an EditText with a Spinner in the sense that the user types something and it presents a list of selectable options right below it. Does such a class exist in the Android library?
Upvotes: 1
Views: 10497
Reputation: 1200
You can follow this tutorial from android:
http://developer.android.com/resources/tutorials/views/hello-autocomplete.html
is an auto complete example on a EditText.
Upvotes: 5