Reputation: 15
I'm trying to design a user form and I was wondering if it's possible to create a TextField that when the user clicks on it a dropdown list appears with suggestions ( based on previous values entered by the user ) and the user has the choice to either pick on of the suggestions or writes his own in the text field .
Thank you
Upvotes: 0
Views: 1364
Reputation: 75788
You can Use AutoCompleteTextView
An editable text view that shows completion suggestions automatically while the user is typing
. The list of suggestions is displayed in a drop down menu from which the user can choose an item to replace the content of the edit box with.
Check Demo android_auto_complete
Upvotes: 1