Question: Code an app that does the following in android studio: There is one button in the middle of the screen. The button color is green
Code an app that does the following in android studio: There is one button in the middle of the screen. The button color is green and its text says 0. When the user clicks on the button GO, we go to a second activity that is red and has one button in the middle of the screen; its text says BACK. When the user clicks on that button, we go back to the first activity; the button of that activity now says 1; every time we come back to the first activity from the second activity, the text inside the button is incremented by 1.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
