tiper / MaterialSpinner

Implementation of a Material Spinner for Android with TextInputLayout functionalities
Apache License 2.0
130 stars 29 forks source link

Resizing and refreshing drawable when error is triggered. #21

Open TheKarlo95 opened 4 years ago

TheKarlo95 commented 4 years ago

When error is set, red error icon appears instead of spinner drawable which is OK with me. Problem is that it doesn't get reset when error is gone. Also views height get bigger when error is nonnull which doesn't happen with TextInputEditText.

EDIT: Also error message doesn't appear below like when using TextInputEditText.

tiper commented 4 years ago

Hi @TheKarlo95 Are you using AndroidX or Appcompat?

Could you check if you set your styling to remove the error icon <item name="errorIconDrawable">@null</item> improves/fixes your issue?

bludginozzie commented 4 years ago

+1 I am using AndroidX