Android spinner drop down arrow color change

 

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…

 

Show Buttons
Hide Buttons
Read previous post:
Android Spinner With Image Icon and Text, Dynamic Spinner

Android dynamic spinner : Introduction Android dynamic spinner with a icon and text, can be much more easier in terms...

Close