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
[TextInputLayout] setting endIconMode makes hint disappear #2573
Comments
Hi @ChekistNSK, Is this happening when you run the app or just in the Android Studio preview? |
Hi, @hunterstich |
Can you provide a sample that reproduces this? It seems to be working on my end when running our |
What do you mean by a sample? I attached a piece of code of an xml-file with which problems are observed. If this is not enough, then I will send you exactly what you need. |
Hey, thanks for the quick response! No, the XML isn't enough to diagnose what might be happening. If you could send a full zip/repository of an Android project that we can run locally and see the problem, that would be preferred. |
Unfortunately, I can't send the source files of the entire project. One of these days I will try to create a new project and simulate the situation I described above. |
For the time being, can you send a screen recording of the issue running on a physical device? |
icon_dissapeared_hint_visible.mp4icon_visible_hint_wont_shown.mp4 |
Done. Rep is here |
@hunterstich Hi :) Please confirm the fact that you also reproduce the situation with this bug when running the code, the link to which I sent you above. |
Thanks for the sample app! I managed to reproduce it. A fix is on its way. : ) |
Description: To display my custom icon correctly on the right side (
app:endIconDrawable="@drawable/ic_drop_down"
) - it is necessary to specifyapp:endIconMode="custom"
. However, adding this parameter entails a situation where the text fromandroid:hint=
is not shown for some reason.Expected behavior:
Source code:
Android API version: 32
Material Library version: 1.4.0
Device: Redmi 9 (12.0.2) + emulator
The text was updated successfully, but these errors were encountered: