I want to change/display different icons for show password in android edittext. I am using following code to display icon.
Create a new drawable file and named it as show_password_selector.xml
and in your layout file, add app:passwordToggleDrawable attribute in TextInputLayout :
app:passwordToggleDrawable
TextInputLayout
For Reference: https://www.youtube.com/watch?v=dW0YIV0Z9qk