Setting multiple custom elements to MultiAutoCompleteTextView : Android
Continuing from my previous post, I was able to set multiple elements to the MultiAutoCompleteTextView but I was not able to wrap those items with custom background and close button as in that link picture. I was able to do the same with single element but for multiple, ran out of luck. This is what I tried. // set text to MultiAutoCompleteTextView private void setTextSample(String contactName) { final SpannableStringBuilder sb = new SpannableStringBuilder(); TextView tv = (TextView) LayoutInflater.from(this).inflate(R.layout.textview, null); tv.setText(contactName); BitmapDrawable bd =