ENGG*6400 – Mobile Device Application Development
Assignment 2, Fall 2018
School of Engineering, University of Guelph
Assignment 2: Fragments
Petros Spachos - petros@uoguelph.ca
Table of Contents
1. Application ..............................................2
2. Objectives................................................2
3. Review....................................................2
4. Assignment Specifications.................................2
5. Marking ..................................................4
6. Submission ...............................................4
Assignment 2 – Fragments
1. Application
In this application, the user selects a Nobel prize category and the application displays the
winner of the category in 2018.
2. Objectives
The objectives of this assignment are:
Learn more about fragments.
Use different layouts for portrait and landscape orientations.
Create a dynamic and multi-pane user interface on Android.
3. Review
Make sure to go through the related material from the course website, especially the following
Week 5 (Part 1) - Fragments
Week 5 (Code) - Fragments
4. Assignment Specifications
Build an application that the user selects a Nobel prize category and sees the winner.
The app should work as follows:
The starting screen should have at least four options (buttons, radio buttons etc.) for
four Nobel prize categories.
The user selects one category
o In portrait mode. This selection should take the user to a new screen where the
winner of the category is displayed. The new screen should have a picture of the
winner, the winner’s name and a short bio. Figures bellow shows an example:
Assignment 2 – Fragments
Figure 1:In portrait mode, when the user selects a category, a new screen is shown. In this example, the user selected “Physics”
on the main menu on the right figure and the details about the winner are shown in a new screen similar to the figure on the
left.
o In landscape mode. This selection should show the winner of the category at the
same screen, on the right side of the selection menu. Figure bellow shows an
example:
Figure 2: In landscape mode, when the user selects a category, the fragment on the right of the main menu shows the details. In
this example, the user selected “Chemistry” on the main menu on the left fragment and the details are shown on the right
fragment.
BONUS (2 marks): Try to create three fragments side by side: one for the main menu,
one for the picture and the name of the winner and one for the short bio.
Assignment 2 – Fragments
5. Marking
The marking scheme of this assignment is as follows:
8/10 marks are assigned to meeting the above specifications
2/10 will be based on the quality of the User Interface and User Experience
6. Submission
Submit your work through dropbox at the course website.
1. A zip file containing your final Android application file (.apk) and all the necessary files of
your project.
2. Name your zip file with your First and Last name as A2FirstLast.zip
3. Submit your file by Tuesday, Oct. 23th, at 11:59 pm
版权所有:编程辅导网 2021 All Rights Reserved 联系方式:QQ:99515681 微信:codinghelp 电子信箱:99515681@qq.com
免责声明:本站部分内容从网络整理而来,只供参考!如有版权问题可联系本站删除。