Questions tagged [multiautocompletetextview]

An auto-complete textview which supports multiple strings, usually separated by a comma.

In the "To" field of an email composer, multiple emails could be separated by commas, while the user receives auto suggestions for each email being typed.

95 questions
2
votes
2 answers

Feed post functionality using MultiAutoCompleteTextview Android

I am trying to build a social networking application which is having feed post functionality same like Facebook or Instagram. This includes tagging friends and adding hash tags. I have achieved the functionality to tag a friend using…
Ankit Kamboj
  • 141
  • 2
  • 13
2
votes
0 answers

how to set multiple token in MultiAutoCompleteTextview Android

I need to set different adapters for different token (i.e When I type '@' it should call AtmentionedAdapter and When I type '#' it should call hashAdapter and both has to be in same MultiAutoCompleteTextView Please find the sample Code I have used…
Anbu
  • 671
  • 1
  • 6
  • 18
2
votes
1 answer

java.lang.IllegalArgumentException: width and height must be > 0 in android

I am trying to get the text from the MultiAutoCompleteTextView from the user and show them in the bubble like format but I am getting : width and height must be > 0 in android final MultiAutoCompleteTextView tags = (MultiAutoCompleteTextView)…
William Willi
  • 194
  • 1
  • 2
  • 19
2
votes
1 answer

IndexOutOfBoundsException in SpannableStringBuilder Android

I am trying to insert multiple textview with imageview in Android . That is why I have the following code : public void onItemClick (AdapterView parent, View view, int position, long id) { PhoneContactInfo phoneContactInfo =…
user5617522
2
votes
2 answers

Multiautocompletetextview, Show autocomplete drop down only when user presses a key after '@' key (like mention in FB app)

I got it working with custom '@' tokenizer. But it fails for the first autocompletion. My code works as a comma tokenizer where I get suggestion for any character and next suggestion only after a comma(it's '@' in my case). Here's my code. …
2
votes
1 answer

How can I limit the values of MultiAutoCompleteTextView to be only the items from my adapter?

This is the code I'm using: MultiAutoCompleteTextView selectedCities = (MultiAutoCompleteTextView)findViewById(R.id.citiesSelected); String[] cities = getResources().getStringArray(R.array.cities); ArrayAdapter adapter = new…
user3698465
  • 185
  • 1
  • 10
2
votes
0 answers

Duplicate value issue in MultiAutoCompleteTextView

I am new to android development and i am using MultiAutoCompleteTextView in my APP and following is code. public TextView autoSelected; String[] countries = {"India","USA","Canada","Indonesia","Belgium", "France", "Italy", "Germany",…
employeegts
  • 144
  • 2
  • 13
2
votes
1 answer

How can i set the text which will be spoken when a value selected for an MultiAutoCompleteTextView

I have a custom view which extends from "MultiAutoCompleteTextView" . When the user starts typing in the CustomTextView a popup will show suggested values. On selecting one of these values, the CustomTextView is populated with the value selected. …
se22as
  • 2,282
  • 5
  • 32
  • 54
1
vote
0 answers

change the specific word color when typing in Edit text or MultiAutoCompleteTextView with file extention

I create small code editor app.Problem is, changing the extention is not change specific words color.I use string array resources file to identify specific word. and also add Common class to get extention using save as dialog. In Common class i got…
1
vote
1 answer

How to custom AutoCompleteTextView dropdown position

My app has an AutoCompleteTextView and I want the drop down list (Autocomplete suggestions) to be placed next to the letter I recently typed in. Now it appears above the whole of AutoCompleteTextView. I found most of people set…
1
vote
1 answer

replacing comma symbol with a pipe symbol in Comma Tokenizer android not working

I am using Comma Tokenizer in MultiAutoCompleteTextView but I want a pipe symbol after each selected text instead of a comma. As on stack I tried replacing the symbol in the base class but its not working. pls let me know if I am doing something…
user8601021
  • 219
  • 3
  • 18
1
vote
1 answer

MultiAutoCompleteTextView and Firebase

I have a list of Tags stored in Firebase. In one of my Fragments, a MultiAutoCompleteTextView (MACTV) lets the User, to select the relevant Tags. The objective, Is to populate the Array (used in ArrayAdapter for MACTV) using the Tags from…
1
vote
0 answers

TokenCompleteTextView that accept free text next to chips

I am trying to implement chips inside input field that beside chips can accept free text using library splitwise/TokenAutoComplete. One chip is @mention that shows user name. User can enter sign @ and after that popup will show and than user…
1
vote
3 answers

Android MultiAutoCompleteTextView with custom tokenizer like as whatsapp GroupChat

I want to create custom tokenizer for @ like as whatspp feature (when open group and write @ then open popup for list and user can select any. Also user can remove that string of @. I have found twitter like search feature (example), but in this,…
dipali
  • 10,966
  • 5
  • 25
  • 51
1
vote
0 answers

AutoCompleteTextView set one item in textView after selected on row which contained 2 items

My problem on my code below: The autocomplete worked properly and show me phone and Name, but I need only phone put one textview after selection. Please. public class SendingSMSActivity extends Activity{ private int mCount; private…