Lab 2 - Ping-Pong

This lab is not for marks. However, you are strongly encouraged to complete this lab as it provides you with an opportunity to develop your skills. You do not submit your solution, but teaching assistants can provide feedback during the lab.

Requirement

Build a mobile app that meets the following:

Design

The app must have three components: A model named PPModel, a view encoded as an XML file, and an activity named PPActivity.

Implementation

PPModel

PPActivity

Add to the class PPActivity a method that sets the text of the view to either Ping or Pong.

XML file

Develop a view with a single button and a text area below it.

Testing

This is your second task.

Deployment

This is your third task.

Extras

Change the colour of the text from red to blue to red to blue, etcetera.