3

I'm developing a APP for Android for educational purposes, and I see this in Linkedin APP. I like it!

Is a eye, and function is similar to CheckBox.

How I can do this?

Is a customized EditText? Is a customized CheckBox inside EditText?

**SHOWING PASSWORD** **UNSHOWING PASSWORD**

BenMorel
  • 34,448
  • 50
  • 182
  • 322
Hypnotize
  • 143
  • 2
  • 17

2 Answers2

1

The password box is probably a Horizontal Linear Layout with a background border surrounding it. For the edittext, it seems like a custom styled one, you can look here to figure out how to implement one.

Edit: As for the checkbox, look here

Community
  • 1
  • 1
jkau
  • 465
  • 4
  • 12
1

just pass null to setTransformationMethod to show the password like --->

yourEditText.setTransformationMethod(null);

user2497476
  • 2,413
  • 2
  • 13
  • 6
  • I know how to transform a password in plain text (anyway, thanks!). I'm speaking about the eye in right area in the EditText! – Hypnotize Jun 18 '13 at 14:14