Spinner drop down button color :
When using android spinner we sometimes want to change the color of the drop down button ???. So here we can see the way to do by fetching the current background and set color filter to it.
Here you can provide some custom color’s or specify the default values based on your design requirements.
spin.getBackground().setColorFilter(getResources().getColor(android.R.color.black), PorterDuff.Mode.SRC_ATOP);
Here i have set color of the spinner drop down to black by making use of default color component.
android.R.color.black
You can change accordingly
For more details visit…