views:

18

answers:

0

Hi all, I try to do something like that on my MultiAutoCompleteTextView alt text

I try to use an ImageSpan but when I did it, my text disappear :/

Actually I use that :

setSpan(new BackgroundColorSpan(getBaseContext().getResources().getColor(R.color.yellow)), 0, textStr.length(), 0));

, but is not "beautiful" , I wish use a drawable instead of a simple color.

that is possible ?

Otherwise, I would put a button "delete" (The grey button on the image), in my MultiAutoCOmpleteTextView to allow user delete all. That is possible to add a button which would bee always on the right ?