Why attribute app:endIconMode is not found in TextInputLayout?
As per the Material Design Components release notes:
1.1.0-alpha04
- Adding support for a custom end icon for the TextInputLayout. (5685941)
Therefore you must change your dependency to at least 1.1.0-alpha04
, not the 1.0.0
you are using:
implementation 'com.google.android.material:material:1.1.0-alpha04'