Solar You is a simple application that allows you to convert between ages on the different planets in our solar system.
The application features an upgraded user interface system to intuitively allow people to get the answer they are seeking easily.
On the back-end, by converting the inputted age into Earth years first and then converting it into another planet's age with the respective conversion ratio, I was able to reduce the amount of operations performed by a great amount. (8 operations instead of 64 to be exact)
The XML layout file contained one EditText for the input of years, two Spinners for the inputs of planets, one TextView to display "Result :", one TextView to display the output, and finally a "Convert" button to trigger all the magic!
Comments