📜  android中带有微调器下拉图标颜色变化的下拉菜单-任何代码示例

📅  最后修改于: 2022-03-11 14:57:21.160000             🧑  作者: Mango

代码示例1
***************Thanks to StakeOverFlow and The Solution Person ******************
Spinner spinner = (Spinner) findViewById(R.id.spinner);
spinner.getBackground().setColorFilter(getResources().getColor(R.color.red), PorterDuff.Mode.SRC_ATOP);