Android imitation WeChat / Alipay password input box

When using payment apps, there is a simple and confidential input box.. There was a problem with the idea at the beginning of the implementation. Later, I searched GitHub and found an open source library. It looks very awesome. Give me an address first:

https://github.com/Jungerr/GridPasswordView

design sketch:

After studying this open source library, I have my own idea: a fake privacy box - an edittextview at the bottom and the origin of six imageviews at the top to control their display and concealment to achieve this privacy width

Development steps:

1 Layout

2: Customize a control to handle input, deletion, explicit and implicit events

In fact, it also realizes the simple secret function, but this is much simpler than the previous open source library. Of course, the function is not as powerful as the previous one.

The above content introduces you to Android's WeChat / Alipay password entry box, and I hope you love it.

The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
分享
二维码
< <上一篇
下一篇>>