Question: 1 mark ) Using Android Studio create an app with a TextView and an ImageView on screen. Following the example in Lecture 2 , use

1 mark) Using Android Studio create an app with a TextView and an ImageView on screen. Following the example in Lecture 2, use Java code to set the text in the TextView to Welcome to MAD. Find a suitable image, copy it to the res > drawable folder and assign it to the ImageView. 2.(1 mark) Add an EditText and a button to your project from question 1. Using the simplest approach, write a Java function for the button which takes text entered into the EditText and displays it in the TextView. 3.(1 mark) Modify question 2 so that use Alerts or Toasts (or both methods) to display the results instead of TextView.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!