hey guys i'm just starting out in android and i've been trying to get some basic autocomplete working.
i've seen the api demos, and this chunk of code is what i'm using so far
(from autocomplete1)
ArrayAdapter<String> adapter = new ArrayAdapter<String>(this,
android.R.layout.simple_dropdown_item_1line, COUNTRIES);
AutoCompleteTextView textView = (AutoCompleteTextView) findViewById(R.id.edit);
textView.setAdapter(adapter);
what i REALLy want is , when i'm typing in whatever i want to search for, instead of a window being created each time, is it possible to just display the results from this windows, in a separate list view? (say directly below the text box)
any ideas how to do this? it would appear that the "autocomplete" window is linked to the widget so i can't get rid of it.
edit: perhaps i was too confusing: basically i want to take the autocomplete widget, and instead of having a window pop up each time it "Searches" for an autocomplete, i just want that window to appear below permanently