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
0 answers

Filter AutoCompleteTextView result with 2 criteria

I have a RTL application which displays the customer name in the AutoCompleteTextView widget.now my toString() is like this,so it filters the result based on the name. now i want to go a step further to allow my users to search for a customer based…
ZAJ
  • 793
  • 3
  • 23
  • 50
0
votes
3 answers

Returning string array and use it on AutoCompleteTextview

I'm developing an android application in which I retrieve some piece of data ( all the village village names) from SQLite database table. I returned this via String Array. Code is public String[] getAllVillage() { String[] villagelist=new…
Linga
  • 10,379
  • 10
  • 52
  • 104
0
votes
0 answers

AutoCompleteTextView loads results slowly

My sqlite database has about 82,000 entries in it and I want to be able to dynamically load suggestions quickly using android's AutoCompleteTextView. I've tried increasing the threshold, but there is still a noticeable delay between entering text…
shazeline
  • 513
  • 1
  • 3
  • 7
0
votes
0 answers

Assistance in AutoComplete for buttons

This is my Layout with autocomplete and 5 buttons. The text in the buttons is set from activity class. For populating to autocomplete im using String Array. The text in Buttons im populating manually from activity. Now would the match take and come…
0
votes
1 answer

Android: Is it possible to accelerate appearance of dropdown choice list of AutoCompleteTextView?

I use AutoCompleteTextView to provide an address entry. The street names are defined and provided as ArrayAdapter to provide street choices. This works. Unfortunately the dropdown appears very late because it contains more than 6000 street names. I…
Bevor
  • 8,396
  • 15
  • 77
  • 141
0
votes
1 answer

How to set ArrayList of CustomObject for AutoCompleteTextView in android?

I am trying to implement Search feature for my android app.So, I am using AutoCompleteTextView. But, I am using ArrayList of custom Object. This is my class. public class Vehicle { private String model,manufacturer; } Now, I have ArrayList of…
Bharath
  • 3,001
  • 6
  • 32
  • 65
0
votes
0 answers

AutoCompleteTextView doesn't show the text bar

I've an AutoCompleteTextView in my Layout, the problem is that although it works perfectly, the "text bar" (I don't know really how it's called "|") is not shown, so it's a bit hard to know where is the focus. Do you know how can I fix…
jramirez
  • 486
  • 9
  • 24
0
votes
1 answer

Converting runOnUiThread to AsyncTask

I read in some links that i need to convert my runOnUiThread to AsyncTask: Android: RunOnUiThread vs AsyncTask But I am unable to get it done. I am implementing an AutoCompleteText which takes query from a database. My runOnUiThread along with the…
0
votes
1 answer

Android AutoCompleteTextView, how to choose what it displays in the drop down?

I want to somehow change AutoCompleteTextView to blindly suggest everything it has in it's ArrayAdapter (I'm using an online source for text completion suggestions so it will never be a very big array). Is there a way to do it (make a custom array,…
J.R.
  • 5,789
  • 11
  • 55
  • 78
0
votes
0 answers

AutoComplete widget does not show all the data

I am working on an android project which uses AutoCompleteTextView widget which get populated from the db. In Emulator while testing it shows all the data in list. But when I test it on a device it does not list all the data after I enter first 3…
ZAJ
  • 793
  • 3
  • 23
  • 50
0
votes
0 answers

AutoCompleteTextView suggestions clips the textview

I have implemented a custom Adapter for my AutoCompleteTextView along with a custom list item view for the suggestions. Everything works except the suggestions dialog clips the suggestions. This is most likely caused by the fact that the textview is…
oUJi
  • 100
  • 1
  • 1
  • 6
0
votes
4 answers

Android: Search box design

I want to design a search box in my app which would look as follows: When I click on it, it should expand as follows: But, I am not getting how to achieve this.
Nitish
  • 3,097
  • 13
  • 45
  • 80
0
votes
1 answer

AutoCompleteTextView Backspace Issue

Anyone can pinpoint whats the problem in my code. My AutoCompleteTextView has strange behavior when I press the backspace. At first when I type on the Textbox it will show the correct values. For example I have a list of string namely "Pallanos",…
klaydze
  • 941
  • 14
  • 36
0
votes
1 answer

How can I change the apppearance of AutoCompleteTextView in Android

I want to change the appearance of AutoCompleteTextView. I mean, want to custom it with my ideas just the part of TextView. How can I do it. Am i suppose to create a complete new class from the base class View or I can extent the functionality of…
aneela
  • 1,457
  • 3
  • 24
  • 45
0
votes
3 answers

how to fill AutoCompleteTextView from SQLite Database

I am trying to design a application for android in which, I have stored all the contacts of the phone in SQLite database and i want that the suggestion in AutoCompleteTextView should be filled from the database. Please tell me how can i achieve my…
android_newbie
  • 667
  • 2
  • 14
  • 32