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
1 answer

change AutoCompleteTextView focus border color

in my project i have several AutoCompleteTextView. I want to change this annoying orange border when some of them focused, but don't know how to do this. I've been tried some different selectors for textcolor and background but i had no…
mrtransistor
  • 31
  • 1
  • 8
0
votes
3 answers

Showing web service's input values in autocompletetextview in android

I am consuming one web service right now.This web service will return some string values if i give proper input values.Here my requirement is, i need to show these input values in AutoCompleteTextView in android. For example: Assume my web service…
prabu
  • 717
  • 3
  • 12
  • 30
0
votes
1 answer

EditText fields goes over the screen edge

I have problem with my table layout and TextView components. I don't know why I can't limit EditText and AutoCompleteTextView sizes and both components mess up my layout. As You can see on attached image below those components goes over screen edge…
0
votes
0 answers

How to speed up AutoCompleteTextView drop down list? maybe with Hashtable?

i have a AutoCompleteTextView with a array of more than 2000 strings. The drop down list is too munch slow with all these strings. Exists a way to speed up the drop down list? Maybe using Hashtable? I can't find anything about this on google. Thanks
Pableras84
  • 1,195
  • 5
  • 18
  • 30
0
votes
2 answers

Getting the selected item after performing autocomplete on listview

I have a ListView which has a autocomplete feature using array adapter, whichworks perfectly fine. My problem is, when i click on the list item after the filtering of listview, i get the position index 0 for the 1st item,1 for the second item and so…
0
votes
1 answer

How to make search for places in Google Maps?

My app is using Google Maps and I want to make searches by address. How can I do this? I would like my search bar to have autocomplete as well. I'm trying with Geocoder but don't work well. Would the Google Places API be better for this? If yes, I…
0
votes
2 answers

TextWatcher does not work when using setText() in AutoCompleteTextView

I have an AutoCompleteTextView which shows a dropdown which is automatically updated while typing text. If the text matches a specific String, a Spinner control shows a certain category. This is done using a TextWatcher. (I used both the methods…
TomS
  • 467
  • 9
  • 25
0
votes
2 answers

AutoCompleteTextView 1. add buttons, 2. create contact adapter, 3. spaces in AutoCompleteTextView

i am trying to make a Compose New Message screen like the Messaging app built-in in Android 4.1 i noticed that when a person selects a contact, there is a Button sort of thing in the AutoCompleteTextView inserted. HOW is that possible? Please help,…
Daksh
  • 1,177
  • 2
  • 18
  • 28
0
votes
1 answer

Android AutoCompleteTextView and ViewHolder

I would use AutoCompleteTextView using data from web-service-rest.The difficulty lies in using a ArrayAdapter with ViewHolder. this is part of my mainActivity.java final AutoCompleteTextView autoCompleteTextView = (AutoCompleteTextView)…
0
votes
2 answers

Android: How to add event listener to auto suggest drop down list

I'm trying to trap event listener on the auto-suggest for my application. i'm populating the list using wiki-suggest : http://en.wikipedia.org/w/api.php?action=opensearch&search=%22bike%22&limit=8&namespace=0&format=json. I'm getting all the things…
Anupam
  • 3,742
  • 18
  • 55
  • 87
0
votes
1 answer

AutoCompleteTextView Via XMLParsing onTextChange

I have this problem. I need to send a call to my SAX Parser (every time user tries enter name of the student) to get the names. What I am doing right now is sending a token-string to my HttpHandler which is returning 10 records every time because…
0
votes
2 answers

How to use Asynctask for receiving the input from server in autocompletetextview?

I am using Asynctask to retrieve the list from server in autocompletetextview but i am getting force close.My code is: public class Aixclass extends Activity { protected Void[] params1; String[] strarray; TextView myXmlContent; …
user1387035
  • 209
  • 4
  • 9
0
votes
2 answers

AutoCompleteTextView sqlite poplulation exception

My frist post only had less than half my text hence the second (complete) post. I'm working on a test app using sqlite to populate two AutoCompleteTextView's i'm using car make and model for the test AutoComplete's: makeAutocomplete…
Jason B.
  • 3
  • 1
  • 3
0
votes
5 answers

Android: AsyncTask not working as expected

I have an app where there is a AutoCompleteTextView. On every text change event, the app goes on to the web to retrieve some content from the internet and populates the dropdown for the TextView. I have used AsyncTask for doing the web content read.…
rahul
  • 6,447
  • 3
  • 31
  • 42
0
votes
2 answers

Android: AutocompleteTextView weird behavior

I am facing a weird problem with AutoCompleteTextView. My code is as follows, AutoCompleteTextView searchText = //findView... private ArrayList suggestions = null; private ArrayAdapter suggestionAdapter = null; suggestionAdapter…
rahul
  • 6,447
  • 3
  • 31
  • 42