Question
/* Android Studio*/ An app consists of two screens: 1) a Welcome screen and 2) an AccessControl screen. First open the app with Welcome screen,
/* Android Studio*/
An app consists of two screens: 1) a Welcome screen and 2) an AccessControl screen.
First open the app with Welcome screen, containing a TextView widget that displays the message This app is locked and a Button labeled open. When the open button is clicked, the AccessControl screen is displayed.
The AccessControl screen has 4 Buttons for the digits 1-4, and a enter Button. The digit buttons are to enter the access code, while the enter Button checks the code and returns to the Welcome screen regardless of whether the code is correct. If the code is correct the TextView in the Welcome screen should display the The App is Unlocked. message. However, if the code is incorrect, the TextView should display the locked message.
Password is : 1234
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started