Assignment 1
Submission Requirement:
Create a folder with the contain the followings:
- Source: Contain the source code.
- Demo: Contain demonstration video or screenshot of your application.
- Report: Contain cs426-a1-review.csv with the following format shown your work in this assignment.
Zip the folder into StudentID_Assignment_1.zip
Deadline: Jun 05
Assignment details:
In this assignment, you are required to create 2 activity with 2 layout follow the design for a movie ticket booking app. You can use the movie data I already provided in the android project at gitlab.com or make your own data.
You need to implement the following functionalities:
1. Cinema showtimes selection activity
1.1. (20 points) Create layout for the movie information section with information including: title, voting score, runtime, type, synopsis and genres.
1.2. (10 points) Create a list of movie show dates. Each date has two states shown with different interfaces: available and selected.
1.3. (10 points) When available date is clicked, its state will go to selected state. Only at most one date of the list is in the selected state.
1.4. (10 points) Create a list of cinemas with its list of movie showtimes. Each showtime has three states shown with different interfaces: available and selected and unavailable.
1.5. (10 points) When available time is clicked, its state will go to selected state. Only at most one showtime of all lists is in the selected state. Unavailable state can not switch to selected state.
1.6. (10 points) When the phone’s orientation changes, the layout should be changed.
1.7. (10 points) When the phone’s orientation changes, the selected date and showtime should stay selected.
1.8. (5 points) When the next button is clicked, create and launch a new seat booking activity.
2. Seat booking activity
2.1 (10 points) Create layout for the cinema showtime information section with data including: movie title, date, time and cinema name.
2.2 (5 points) Receive movie title, date, time and cinema name from cinema showtimes selection activity.
2.3 (+10 points) Seat selection (Bonus) Create a layout for visualizing the seats in the cinema. Each seat has three states shown with different interfaces: available and selected and booked. Only available seat can be selected. When an available seat is clicked, it goes to selected stated and updates the total number of ticket.
Look and feel (+10 points) The quality of your UI will be bonus in this homework.