Example usage for Java android.widget AutoCompleteTextView fields, constructors, methods, implement or subclass
The text is from its open source code.
AutoCompleteTextView(Context context) Constructs a new auto-complete text view with the given context's theme. |
void | dismissDropDown() Closes the drop down if present on screen. |
ListAdapter | getAdapter() Returns a filterable list adapter used for auto completion. |
int | getThreshold() Returns the number of characters the user must type before the drop down list is shown. |
void | setAdapter(T adapter) Changes the list of data used for auto completion. |
void | setCompletionHint(CharSequence hint) Sets the optional hint text that is displayed at the bottom of the the matching list. |
void | setDropDownAnchor(int id) Sets the view to which the auto-complete drop down list should anchor. |
void | setDropDownBackgroundResource(@DrawableRes int id) Sets the background of the auto-complete drop-down list. |
void | setDropDownWidth(int width) Sets the current width for the auto-complete drop down list. |
void | setOnClickListener(OnClickListener listener) |
void | setOnItemClickListener(AdapterView.OnItemClickListener l) Sets the listener that will be notified when the user clicks an item in the drop down list. |
void | setThreshold(int threshold) Specifies the minimum number of characters the user has to type in the edit box before the drop down list is shown. When |
void | showDropDown() Displays the drop down on screen. |