design_password_eye.xml 590 B

12345678
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <animated-selector
  3. xmlns:android="http://schemas.android.com/apk/res/android">
  4. <item android:state_checked="true" android:id="@id/visible" android:drawable="@drawable/design_ic_visibility" />
  5. <item android:id="@id/masked" android:drawable="@drawable/design_ic_visibility_off" />
  6. <transition android:drawable="@drawable/avd_show_password" android:toId="@id/visible" android:fromId="@id/masked" />
  7. <transition android:drawable="@drawable/avd_hide_password" android:toId="@id/masked" android:fromId="@id/visible" />
  8. </animated-selector>