Mobile App Dev 2021W: Assignment 3: Difference between revisions
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
'''This assignment is still being developed.''' | '''This assignment is still being developed.''' | ||
In this assignment you will be extending [https://homeostasis.scs.carleton.ca/~soma/mad-2021w/code/Converter2A.zip Converter2A] from [[Mobile App Dev 2021W: Tutorial 6|Tutorial 6]]. | In this assignment you will be analyzing and extending [https://homeostasis.scs.carleton.ca/~soma/mad-2021w/code/Converter2A.zip Converter2A] from [[Mobile App Dev 2021W: Tutorial 6|Tutorial 6]]. | ||
==Tasks== | ==Tasks== | ||
# [2] Converter2A's layout is messed up when in landscape mode (the device turned horizontally). Fix | # [2] Converter2A's layout is messed up when in landscape mode (the device turned horizontally). Why? What is wrong with the current layout? | ||
# [2] Fix Converter2A's layout by converting it to a LinearLayout. | |||
# [2] Fix Converter2A's layout while keeping it a ConstrainedLayout. Make sure your layout works in both portrait and landscape mode! | # [2] Fix Converter2A's layout while keeping it a ConstrainedLayout. Make sure your layout works in both portrait and landscape mode! | ||
# [4] When rotated, Converter2A doesn't remember the current state of the app. Modify it so it saves and restores the selected conversion and the value being input when the main activity is destroyed and re-created. | # [4] When rotated, Converter2A doesn't remember the current state of the app. Modify it so it saves and restores the selected conversion and the value being input when the main activity is destroyed and re-created. |
Revision as of 20:45, 16 March 2021
This assignment is still being developed.
In this assignment you will be analyzing and extending Converter2A from Tutorial 6.
Tasks
- [2] Converter2A's layout is messed up when in landscape mode (the device turned horizontally). Why? What is wrong with the current layout?
- [2] Fix Converter2A's layout by converting it to a LinearLayout.
- [2] Fix Converter2A's layout while keeping it a ConstrainedLayout. Make sure your layout works in both portrait and landscape mode!
- [4] When rotated, Converter2A doesn't remember the current state of the app. Modify it so it saves and restores the selected conversion and the value being input when the main activity is destroyed and re-created.