DESCRIPTION
This is a simple age and weight converter between planets.
Interactions:
1. User can choose the reference planet and then type the age/weight he/she wishes to convert.
2. Scrolling down, the user can see the converted numbers for each planet.
3. The user can type and the conversions will happen dynamically.
4. The screen can be viewed in landscape mode as well.
5. I also tested for some edge cases - if the users inputs a negative number or alphabets, then the results show NaN.
Technical details
1. I used the relative layout to create the top menu.
2. Scroll view was used to create the bottom scrolling section of the app.
3. Spinner in Android was interesting to learn and customize it was fun. I got to learn a lot about layouts, styles and themes.
4. I wanted to find how to create layouts dynamically, and hide the input planet chosen
Tested on Google Nexus 7 - 4.4.2 - API 19
Source Code
Below is the source code for the app.
Comments