在这里打破我的头,我在网上搜索了很多,这似乎是之前android上的一个错误,但还没有找到解决方案。
我有一个 AutoCompleteTextView:
autodesignations = (AutoCompleteTextView) findViewById(R.id.main_autocomp);
adapterShapesAuto = new ArrayAdapter<String>(this,android.R.layout.simple_dropdown_item_1line, shapes);
autodesignations.setAdapter(adapterShapes);
该小部件有效,但下拉文本始终是白色背景上的白色文本。
我尝试将适配器的资源设置为 android 的内置布局和我自己的几种组合。
即使将它指向一个也用于 Spinner 的 TextView 资源(按预期工作,白色背景上的黑色文本),但没有找到使它工作的方法,继续获得相同的结果
有什么帮助吗?