-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Error icon and password icon overlapping #1444
Comments
Can you provide your source code? |
yes here it is
</androidx.constraintlayout.widget.ConstraintLayout>` |
Not sure if that's what the OP did, but in my case this issue was triggered because of Kotlin converting Edit: Here's the commit showing the change that resolved this for me https://msfjarvis.dev/aps/317eb00fa358 |
The workaround in your commit causes the error icon to disappear on my side. |
You're right, I was doing more than one thing wrong. Properly fixed here: https://msfjarvis.dev/aps/3c0665d33133 |
Your updated solution still causes the error icon to disappear as you are setting the error on the input layout, not the edit text. Doing it your way causes the visibility icon to show, but the error icon and tooltip goes away, which is the functionality I'm after. |
I see. The commit I linked makes the error message match Material specifications so I believe your use case is different from what I was going for. |
Going back to the original bug-report: the two icons overlap, meaning there is no current way to enable both password visibility toggling and have the error icon showing properly on the edit text. You might have solved your problem, but the bug persists. Thanks for the help anyway :) |
It seems like you're using a |
Overlapping of error icon and show password icon .When both are visible.
The text was updated successfully, but these errors were encountered: