Questions tagged [autocompletetextview]

AutoCompleteTextView is an Android widget that automatically shows complete suggestions as the user types.

The AutoCompleteTextView obtains the list of suggestions from filtering its Adapter (which must be set to allow complete suggestions) using the text the user enters in the widget's input area. To trigger the list of suggestions the user must insert a minimum number of characters defined by the threshold attribute.

Useful links

1455 questions
0
votes
2 answers

AutoCompleteTextView does not show drop down

I have a button (setButton), and immediately upon pressing the button, I want my modified AutoCompleteTextView to show the dropdown menu I have two classes AutoCompleteTextViewTest1Activity.class package com.autocompletetextviewtest1; import…
Jason Ching
  • 1,037
  • 4
  • 19
  • 27
0
votes
1 answer

AsyncTask:onPostExecute

Help - read all the relevant threads but my onPostExecute is not being called. I'm trying to dynamically create the autocomplete list for an AutoCompleteTextView by running the list builder on a separate thread using AsyncTask Here's the basic…
milleph
  • 462
  • 5
  • 20
0
votes
1 answer

Drop down list of Android MultiAutoCompleteTextView not scrolling to bottom

I am unable to get the drop-down list of a MultiAutoCompleteTextView to scroll to the bottom. There is more content than what is showing up, but the list does not advance below a certain point. I can tell that I haven't reached the bottom of the…
Flash
  • 302
  • 2
  • 4
  • 12
0
votes
1 answer

AutoCompletetextView issue with Nexus (Maybe is 4.0.X)

My issue is that I have a big, enormous list for the AutoComplete. Example: Store A Store B Store C Store D Store F Store H Store I As you can see they all use Store and when I start typing store I see the (...) in the phone, where I can see the…
0
votes
3 answers

AutoCompleteTextView Listener not working

I have a activity which has a button and 2 autocomplete widget. for the button i am using addProductButton.setOnClickListener(this); and for the 2 autocomplete widget i am using supplierTextView.setOnItemClickListener(this); now when i select…
ZAJ
  • 793
  • 3
  • 23
  • 50
0
votes
1 answer

AutoCompleteTextView: How to change 2 strings in the layout

I am making a search engine for my Android app that involves a database. My current implementation is as follows: ArrayAdapter adapter = new ArrayAdapter(this, R.layout.result_item, R.id.txtVerbName, verbs); AutoCompleteTextView…
Qasim
  • 1,686
  • 4
  • 27
  • 51
0
votes
2 answers

Best way to get autocomplete in android

My app uses data from a web server. On a website you can get autocomplete using some ajax calls which takes milli seconds to function. but in case of android i need to get all the key words from the site, store them in an array, make n adapter and…
Housefly
  • 4,324
  • 11
  • 43
  • 70
0
votes
1 answer

Populating an autocompletetextview with results from a php powered webservice

I am trying to develop an app which updates an autocomplete view with json data from a webservice. Using a textwatcher, I check in the ontextchanged callback and create an asynctask object which makes a non-blocking call to the webservice to get the…
Awemo
  • 875
  • 1
  • 12
  • 25
0
votes
0 answers

Can i use custom adapter for setting values in autocomplete textview?

Am using a AutoCompleteTextView and the values for the 'AutoCompleteTextView' is not hardcoded. The values are dynamically retrieved from the web database using web service similar to search engine suggestions. For asynchronous process of…
arnp
  • 3,178
  • 6
  • 26
  • 43
0
votes
2 answers

Android autocompletetextview with approximate string matching

I am developing an application which has about 8000 names of the cities of India. And when the user types in i use auto complete to help the user to do the job. But some city names have spelling which is hard to guess for people from other states.…
Jeyanth Kumar
  • 1,589
  • 3
  • 23
  • 48
0
votes
1 answer

How to restore the string in AutoCompleteTextView

Here is my code. I want my AutoCompleteTextView to contain the string which was entered before clicking the go_button. my actv.setText is not working as expected. final AutoCompleteTextView actv = (AutoCompleteTextView)…
Housefly
  • 4,324
  • 11
  • 43
  • 70
0
votes
1 answer

autocompletetextview list display from database and onitemclicklister

i want to implement an onclicklister to autocompletetextview having results from database table. I've googled it but didnt get what exactly i want. stackoverflow link. in my autocompletetetextview i'll show the name of the user and if you click on…
0
votes
1 answer

why do we need an extra layout when using AutoCompleteTextView

Check the code at http://developer.android.com/resources/tutorials/views/hello-autocomplete.html or
Housefly
  • 4,324
  • 11
  • 43
  • 70
-1
votes
1 answer

AutoCompleteTextView doesn't show suggestions on style/Theme.Dialog window

i have a problem with AutoCompleteTextView. I use it in several activities, it works just fine with all of them but one, which is a dialog themed activity. in this specific activity, the suggestion list doesn't show at all this is my…
Vlad
  • 735
  • 2
  • 10
  • 19
-1
votes
1 answer

programatically hide drown down arrow in autocomeplete textView

I am trying to create a EditText that usually acts as a normal text input field, but under particualar situations acts as an autocomplete textfield with exposed drowndown. So far i have tried replacing the end drawable with an invisible drawable,…