AutoCompleteTextView background/foreground color

后端 未结 7 836
再見小時候
再見小時候 2020-12-10 05:10

I am working on AutoCompleteTextView.Its working fine but the dropdown text is always white text on white background. this picture explain my problem

picture explain

7条回答
  •  抹茶落季
    2020-12-10 05:38

    A tricky solution for this is: Add this line setTheme(android.R.style.Theme); before setContentView() in your activity file in which your autocompletetextview is present. Let me know if this works.

提交回复
热议问题