You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description: I wanted to do some customization on the end and start icon buttons of text input layout. I used ids text_input_start_icon and text_input_end_icon for finding those buttons. Everything was working well on the start icon but the end wasn't changing at all. After debugging and reading the source code for a while I found that errorIconView has the same id and all of my customizations are applied to that (because findViewById returns the first view it founds).
Expected behavior:errorIconView should have another distinct id for example text_input_error_icon.
Material Library version: 1.2.0
This can be easily solved by defining a new id and setting endIconView id after its inflation.
The text was updated successfully, but these errors were encountered:
Description: I wanted to do some customization on the end and start icon buttons of text input layout. I used ids
text_input_start_icon
andtext_input_end_icon
for finding those buttons. Everything was working well on the start icon but the end wasn't changing at all. After debugging and reading the source code for a while I found thaterrorIconView
has the same id and all of my customizations are applied to that (becausefindViewById
returns the first view it founds).Expected behavior:
errorIconView
should have another distinct id for exampletext_input_error_icon
.Material Library version: 1.2.0
This can be easily solved by defining a new id and setting
endIconView
id after its inflation.The text was updated successfully, but these errors were encountered: