From b2f5e93f8ef114058297526537f7700ef0317ba8 Mon Sep 17 00:00:00 2001 From: SaliniVenate Date: Thu, 31 Jul 2025 03:39:54 +0000 Subject: [PATCH] [password_toggle] Fixed password_toggle visibility is reversed Currently, when using app:endIconMode="password_toggle">, the visibility of password is swapped, when eye is open: pasword is not visible and when eye is closed password is hidden. Signed-off-by: Ankit Agrawal Signed-off-by: Salini Venate --- .../material/textfield/res/drawable/design_password_eye.xml | 2 +- .../android/material/textfield/res/drawable/m3_password_eye.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/java/com/google/android/material/textfield/res/drawable/design_password_eye.xml b/lib/java/com/google/android/material/textfield/res/drawable/design_password_eye.xml index 9e7ca9667cf..fd26f427e4b 100644 --- a/lib/java/com/google/android/material/textfield/res/drawable/design_password_eye.xml +++ b/lib/java/com/google/android/material/textfield/res/drawable/design_password_eye.xml @@ -22,7 +22,7 @@ + android:state_checked="false"/> + android:state_checked="false"/>