Question: Create an Android Studio application that will have two screens/activity: 1. Main Activity with the following information: a. Background color of light blue b. Text
Create an Android Studio application that will have two screens/activity:
1. Main Activity with the following information:
a. Background color of light blue
b. Text displaying Welcome + your full name and student id.
c. EditText field for user to type some text
d. Button 1: when user clicks on it: i. Display a toast with your full name and the name of the site you are about to launch. ii. Display a website of your choice.
e. Button 2: when user clicks on it: i. Display a snackbar, your full name + 2nd screen. ii. Display the second activity.
2. Second Activity with the following info:
a. Background color of light yellow.
b. Text displaying My Second Screen + your full name and student id.
c. Text displaying the data entered by the user in the EditText field on the first screen (no hardcoding of text, text must be passed from Main Activity to the 2nd Activity).
d. Image of your choice.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
