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
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