BetterSpinner
BetterSpinner copied to clipboard
how to remove the down arraw ?
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 . . .
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
I set like this to hide the arrow: spinner2.setCompoundDrawables(null, null, null, null);