3

I need to achieve the password field 'clear able' & 'password toggle' button like below the image.(In image I have implement it using image editing only :P)

Is it possible without customization?

enter image description here

Rahul
  • 579
  • 1
  • 8
  • 18
  • what are you looking for? Please explain – Muntasir Aonik Jun 28 '20 at 11:32
  • I want the cross button and eye button in a single field. Is it possible with android-material version 1.3.0-alpha01? – Rahul Jun 28 '20 at 11:36
  • I do not think it is directly possible. You would need to create a custom view to support this. As of default implementation, you can only set one icon by setting `android:endIconMode` attribute in xml. – Hussein El Feky Jun 28 '20 at 11:40
  • Ok, Thanks man for the clarification. I think that any input field should contains three icons i.e error Indicator icon, password eye indicator icon and last one is end Icon that can be anything. – Rahul Jun 28 '20 at 11:46
  • 1
    Currently (1.3.0-alpha01) it is not supported. – Gabriele Mariotti Jun 28 '20 at 17:33

0 Answers0