SPAN_EXCLUSIVE_EXCLUSIVE spans cannot have a zero length AutoCompleteTextView

view full story

http://stackoverflow.com – I have problem with AutoCompleteTextView. I have ListView consisting of AutoCompleteTextView and EditText for some number input which I can modify to dynamically add rows. Everything works fine for first row, but when I add second row and try to type into AutoCompleteTextView the keyboard loses focus and I cannot type anything. Here is my class that uses this listview: public class AddMealActivity extends Activity { String[] values = new String[] { "Android", "iPhone", "WindowsMobile", "Blackberry", "WebOS", "Ubuntu", "Windows7", "Max OS X", "Linux", "OS/2" }; EditText mealN (HowTos)