Android Studio Mini Assignment

profilekrishna820
Assignment2_SimpleUCMOApp_summer2021.pdf

CS4110/CS5120

Assignment 2 (20 pts)

 Due: Week3 (1:30pm, June 1, 2021)

 Upload your assignment using UCM Blackboard. Typed preferable (Word or PDF); as an

alternate option, you may scan your handwritten version, save as a PDF, and upload

make sure that your scanned version is readable.

 The cover page of your homework will contain only the following information: Name, ID

(700#), E-mail, Course # (CS5120), Semester (Summer 2021), Due date

Simple UCMO Application

You are going to integrate several lectures (layouts, widgets, activity, and intent) to build a

simple UCMO app.

Layout Design

 Use nested LinearLayout

o Background color: black

o Text: red

 Use LinearLayout for Buttons

o Background color: blue

 Four buttons

o Welcome, Calendar,

CS department, and CS 5120

 Two textViews

o Top and Bottom

Functionalities

 Welcome button: Show toast message (Figure 1)

o “Welcome to computer science”

 Calendar button: Connect to UCM academic calendar (Figure 2)

o https://www.ucmo.edu/calendar/

 CS Department button: Make a call to CS department (Figure 3)

o 660-543-1234

 CS5120 button: Move to CS4110/5120 page and insert your name (Figure 4)

o Send your name back to main page as a toast message

LinearLayout

LinearLayout

CS4110/CS5120

Figure1. Welcome Figure 2. Calendar Figure3. CS department

Figure 4. CS 4110/5120

CS 5120 CS 5120