Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show error message like TextInputLayout #3

Open
trietbui85 opened this issue Oct 13, 2017 · 1 comment
Open

Show error message like TextInputLayout #3

trietbui85 opened this issue Oct 13, 2017 · 1 comment

Comments

@trietbui85
Copy link

In TextInputLayout, we're able to set and show error message for EditText. Can we do the same for this AnimatedExpandableEditText?

@gcherubini
Copy link
Member

gcherubini commented Oct 13, 2017

Yes, as it is a simple native EditText wrapper, you can use all of their default properties. Take a look:

AnimatedExpandableEditText animatedExpandableEditText = (AnimatedExpandableEditText) findViewById(R.id.edit_text);
animatedExpandableEditText.setError("Error!");

Edit Text Set Error Example

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants