BetterSpinner icon indicating copy to clipboard operation
BetterSpinner copied to clipboard

how to remove the down arraw ?

Open waelsyrian996 opened this issue 9 years ago • 3 comments

waelsyrian996 avatar Oct 05 '15 12:10 waelsyrian996

i want to change the down arraw position , is there any way to change the position of the arraw , or can i remove the arraw and use custom one . . .

waelsyrian996 avatar Oct 05 '15 12:10 waelsyrian996

i get the class and hint the : @Override public void setCompoundDrawablesWithIntrinsicBounds(Drawable left, Drawable top, Drawable right, Drawable bottom) { // Drawable dropdownIcon = ContextCompat.getDrawable(getContext(), R.drawable.ic_expand_more_black_18dp); // if (dropdownIcon != null) { // right = dropdownIcon; // right.mutate().setAlpha(128); // } super.setCompoundDrawablesWithIntrinsicBounds(left, top, right, bottom); }

and use the same method setCompoundDrawablesWithIntrinsicBounds

waelsyrian996 avatar Oct 05 '15 14:10 waelsyrian996

I set like this to hide the arrow: spinner2.setCompoundDrawables(null, null, null, null);

ratanakpek avatar Nov 30 '17 16:11 ratanakpek