1

when i try to use autocomplete textview it works but all the suggested words have white color and when i clicked on them it s possible to see what is that suggestion

what should i do for this problem?

enter image description here

<AutoCompleteTextView
      android:id="@+id/etBrand"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:ems="10"
      android:hint="Brand"
      android:inputType="textAutoComplete|textAutoCorrect"
      android:textColor="#000000"
      android:textColorHighlight="@android:color/black" />

what should i add to this xml code to solve this problem? thanks in advance...

Hossein Mansouri
  • 752
  • 1
  • 13
  • 29
  • private static final String[] Brands = new String[] {"Brand1","Brand2","Brand3","Brand4","Brand5",}; ArrayAdapter adapterBrand = new ArrayAdapter(this, android.R.layout.simple_dropdown_item_1line, Brands); – Hossein Mansouri Oct 11 '13 at 20:09

1 Answers1

1

This a logged bug,

You can find some ways to fix it in the same link.

Auto complete text view bug

Bug solution

I hope it helps...

source: https://stackoverflow.com/a/8471078/1932105

please use the search before asking next time.

Community
  • 1
  • 1
Ahmed Ekri
  • 4,601
  • 3
  • 23
  • 42