AutoCompleteTextview Color set white by default

前端 未结 10 2245
自闭症患者
自闭症患者 2020-12-18 18:16

I used an AutoCompleteTextView in my android app and it is working correctly. The only problem I am facing is that the color of the suggestions is white by default that is i

10条回答
  •  予麋鹿
    予麋鹿 (楼主)
    2020-12-18 18:53

    This worked for me First use this before setContentView()

    setTheme(android.R.style.TextAppearance_DeviceDefault_Medium_Inverse);
    

    you have to change some colors in colors.xml in the values folder

提交回复
热议问题