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

Android Autocompletetextview and editable spinner

Here is my scenario: I've got a database, where 2 columns are interesting for me. I now created an autocompletetextview where the adapter gehts via SQL the entries of one column. So far... so good, but what i actually want is, that if the user…
Ripei
  • 432
  • 2
  • 8
  • 19
0
votes
1 answer

How to load contacts in Autocompleate Textview In background?

I have developed the android application in that I am using Autocompleate textview to load contacts. It is working fine but the activity is getting slow to open because loading all contacts in onCreate method. I want to know how to load the contacts…
Krishna
  • 4,892
  • 18
  • 63
  • 98
0
votes
1 answer

AutoCompleteTextview not functioning

I am trying to set up an AutoCompleteTextview in a activity. I get no errors. On the preview screen it looks like this(http://gyazo.com/7bf15e2b0b37f09d0d20ba883de49dce). However, when I run the app on my phone or on the emulator, it looks like…
Jaack
  • 31
  • 1
  • 7
0
votes
1 answer

Show AutoCompleteTextView's drop down on button click

I have a AutoCompleteTextView which returns the list of places according to the text entered. The AutoCompleteTextView is working fine and returning the required data. However, I am facing a slight problem. Consider that i am wrote lo in…
Rohan Kandwal
  • 9,112
  • 8
  • 74
  • 107
0
votes
1 answer

How to make a perso AutoCompleteTextView in the ActionBar, java api 1.5

I'm new Android learner and here is my problem. I'm working with android API 15+. My goal is to build a custom AutoCompleteTextView in the ActionBar. Custom because I would have a button in the AutoCompleteTextView which would allow users to use…
0
votes
1 answer

AutoCompleteTextView - The method setText(String) is undefined for the type String

I'm working on AutoCompleteTextView and my end result for my autocompletetextview should be like this link (From and To) but i have one error at setText. it showed me this The method setText(String) is undefined for the type String I don't know…
riehime23
  • 49
  • 5
  • 13
0
votes
0 answers

Android Where do you put code to modify fields in dialogfragments?

I am creating a DialogFragment that I use for my login dialog. I want to have autocompletion for the email addresses that are used as user ids. I found a good tutorial here, but it didn't really deal with using a DialogFragment. My current code…
Rben
  • 489
  • 1
  • 7
  • 18
0
votes
1 answer

Making AutoCompleteTextView Drop Down NOT Clickable

I have an autocompletetextview where the user types, and a drop down menu populates. In this case, I am showing the user that a particular item name is used and therefore NOT available to be selected. I'd like to show the drop-down but make it…
TheLettuceMaster
  • 15,594
  • 48
  • 153
  • 259
0
votes
1 answer

AutoCompleteTextView NullPointer in Button's OnClickListener

A NullPointerException is thrown when I attempt to extract the text from an AutoCompleteTextView upon hitting a button in a Fragment. This is my code... public class TreeMenuFragment extends SherlockFragment{ protected View view; public View…
0
votes
1 answer

Android Layout AutoCompleteTextView NullPointerException Workaround

I'm working in with the Android SDK 2.0 / Galileo / ADT 0.9.4 (latest to date). Against Android 1.5 API layer. If I go to the layout editor and add an AutoCompleteTextView the screen immediately gives me a NullPointerException. Does anyone have a…
Jeremy Edwards
  • 14,620
  • 17
  • 74
  • 99
0
votes
1 answer

selected values from MultiAutoCompleteTextView dropdown didn't display again in dropdown

I am using MultiAutoCompleteTextView from that i have an query that when we select value from the dropdown of MultiAutoCompleteTextView, Can we remove this selected value from the dropdown until this value is not match in adapter. e.g.…
Krunal Shah
  • 1,438
  • 1
  • 17
  • 29
0
votes
1 answer

Android setFocusable on AutoCompleteText?

I was just wondering if setFocusable works with AutoComplete text view. I looked for examples and implemented it but setFocusable (in my observation) works only with EditText. Does setFocusable works with AutoComplete text view? If not, are there…
doylefelix
  • 117
  • 3
  • 12
0
votes
2 answers

google distance matrix with autocomplete on android

I am trying to do what the header is saying, which is to create an app with google distance matrix with autocomplete on android. So far, with my research and studying on the books myself, it is very difficult to come up with the code and I finally…
0
votes
1 answer

Implementing autocompletetextview next to ImageButton using 9patch in a RelativeLayout

I'm having trouble implementing a SearchBox with an ImageButton to the right using assets provided by a designer. I'm not sure if the problem is because of the assets or my implementation. It should look like this, and it does in hdpi phones. But…
Ejmedina
  • 509
  • 5
  • 13
0
votes
1 answer

Getting all contacts add adding to ArrayAdapter to bind to AutoCompleteEditText

I am working an android project and I am trying to make use of the the AutoCompleteEditText and bind the ArrayAdapter of the contacts. But I am having an issue returning an array of contacts. Below is the code I am using to retrieve the contacts…
Boardy
  • 35,417
  • 104
  • 256
  • 447