I implemented TextInputLayout with a password field in the usual way:
<android.support.design.widget.TextInputLayout android:layout_width="match_parent" android:layout_height="wrap_content"> <EditText android:id="@+id/returning_password" android:layout_width="match_parent" android:layout_height="wrap_content" android:hint="@string/prompt_password" android:inputType="textPassword" android:maxLines="1" android:textSize="14sp" /> </android.support.design.widget.TextInputLayout>
This worked fine when using the Android support library prior to version 24.0.2, but after switching to 25.0.1:
compile 'com.android.support:design:25.0.1' compile 'com.android.support:support-v4:25.0.1' compile 'com.android.support:appcompat-v7:25.0.1' compile 'com.android.support:support-vector-drawable:25.0.1'
I no longer see the visibility of the password (aka "eye icon") in widgets. Switching to the latest version 25.1.0 does not fix this problem.
Is there something I missed and I need to change in conjunction with the support library 25, or could it be a problem with Android?
source share