I have strange behavior with android.R.layout.simple_dropdown_item_1line while using
MultiAutoCompleteTextView.
The code I use is:
contactId = (MultiAutoCompleteTextView) findViewById(R.id.contactId);
contactAdapter = new ArrayAdapter<String>(this, android.R.layout.simple_dropdown_item_1line,readContacts());
contactId.setAdapter(contactAdapter);
contactId.setThreshold(1);
My layout file contains:
<MultiAutoCompleteTextView
android:id="@+id/contactId"
android:layout_width="fill_parent"
android:layout_height="wrap_content"
android:hint="To"
android:layout_margin="3dip">
</MultiAutoCompleteTextView>
My Emulator show white background on multiAutoCompleteTextView with transparent
contactList info in it.
Why am I having such strange behavior? I am using Android 2.2 for the development.
I solved it by updating my android version