Implementation method of remembering multiple passwords in Android login
First, let me tell you my ideas for implementation:
Add listview in popouwindow. The data is stored locally as a string in JSON style. Let's see the effect first
adapter_ user_ Item.xml is the layout in listview item, just a picture button and a display button
login_ pop_ View.xml is just a list button
Useradapter.java is an adapter used to fill the listview. An interface is added to handle the function of deleting account information in the listview. This function is implemented in activity
Now it is implemented in activity
Problems encountered and solutions:
1. When EditText has focus, the keyboard pops up, and the pop-up box will appear at the top. It has been set to hide the keyboard before the pop-up box, but it can't. As shown below
2. Click the picture button popouwindow to pop up, the arrow is up, and then click the picture button, popouwindow disappears and the picture is down. At first, the image button was used to control the effect, but the popouwindow lost the focus, so the disappearance event of popouwindow was used to monitor
The above is the implementation method of remembering multiple passwords for Android login introduced by Xiaobian. I hope it will help you. If you have any questions, please leave me a message, and Xiaobian will reply to you in time. Thank you very much for your support for the programming tips website!