I have a question about the password activity of the Android number key.

Asked 2 years ago, Updated 2 years ago, 28 views

Hello.

I have a question because there is a blockage during Android development.

You want to implement the following screen:

However, I was at a loss as to how to implement it effectively.

If anyone has ever tried to implement these activities or knows how to do it, I would appreciate it if you could reply.

Thank you.

android

2022-09-22 21:29

1 Answers

The above screen can be configured as GridLayout, TextView (or Button), or ImageView. In the case of the number pad, it would be easy to arrange it using GridLayout and TextView (or Button). The _ area at the top should be implemented by filling in the number one by one when the number button is clicked.

Please refer to the sample code below for the number pad.


2022-09-22 21:29

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.