Android TextInputLayout Password toggle not visible in new support library
The TextInputLayout
password toggle is now disabled by default to avoid unnecessarily overwriting developer-specified end drawables. It may be manually enabled via the passwordToggleEnabled
XML attribute.
from https://developer.android.com/topic/libraries/support-library/revisions.html
It is disabled in 25.0.1. If you want it, you need to manually enable it
Check reference here
The TextInputLayout password toggle is now disabled by default to avoid unnecessarily overwriting developer-specified end drawables. It may be manually enabled via the passwordToggleEnabled XML attribute.
I smashed my head with this one for hours.
From the release notes: https://developer.android.com/topic/libraries/support-library/revisions.html#
Fixed issues: The TextInputLayout password toggle is now disabled by default to avoid unnecessarily overwriting developer-specified end drawables. It may be manually enabled via the passwordToggleEnabled XML attribute.
So to have it back, you have to:
<android.support.design.widget.TextInputLayout
...
...
app:passwordToggleEnabled="true">
<android.support.design.widget.TextInputEditText
....
....
.... />
</android.support.design.widget.TextInputLayout>