开发者

Why does the password field in Android show the character first and then gets masked?

While am entering the password in my application in the password field, t first shows the character and then change. My system configuration is less, I have 1GB Ram and dual core processor - Is that is the reason am seeing the character? Is there other field to be choosen to get like other开发者_Python百科 login pages.


This is not a error. It is behaviour of the password field to ensure you are entering correct characters. Its same for device also.


May be similar post

Actually this not an error. You also face this into the device also when you type your password in the password field like login into any chat app or any web site.

This the behavior of this field to ensure the user that he type the correct character

It is possible to change this behavior by implementing your own TransformationMethod and setting it via setTransformationMethod(), but I would not recommend doing that. Users will expect the behavior you are seeing and by changing your app, you'll be providing an inconsistent user experience.

Android Reference Manual on this

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜