BetterSpinner icon indicating copy to clipboard operation
BetterSpinner copied to clipboard

Changing the color of the dropdown arrow

Open Swapnil-Garg16 opened this issue 7 years ago • 4 comments

How to change the color of the dropdown arrow to white.

Swapnil-Garg16 avatar Mar 22 '17 18:03 Swapnil-Garg16

https://github.com/jaredrummler/MaterialSpinner . this one has it

j2emanue avatar Jul 22 '17 07:07 j2emanue

@Lesilva you have hard coded the image of arrow in your MaterialBetterSpinner class with drawbleright (R.drawable.ic_expand_more_black_18dp) and that's why we can not change it via xml. try to give some way through which developers can change it.

shaikhhamad avatar Aug 15 '17 07:08 shaikhhamad

@Swapnil-Garg16 you can change the "android:drawableEnd" with a drawable and it will change. To make it change based on selection status you will have to handle it manually but if you work with the "android:drawableEnd" I think you will be able to accomplish it.

arthursady avatar May 14 '18 19:05 arthursady

@Lesilva you have hard coded the image of arrow in your MaterialBetterSpinner class with drawbleright (R.drawable.ic_expand_more_black_18dp) and that's why we can not change it via xml. try to give some way through which developers can change it.

DAKSHSEMWAL avatar Sep 03 '19 07:09 DAKSHSEMWAL