Question
Create an app with the name Values converter. Create a grid of 1 x 3. Each column in the grid will have a specific button.
Create an app with the name Values converter. Create a grid of 1 x 3. Each column in the grid will have a specific button. 1. KM to Miles (30 points) 2. Feet to Inches (30 points) 3. Lbs to KGs (40 points) On click of each button, there will be a secondary fragment loaded, each fragment will have a different layout. An example is given below screenshot. Options item shouldve exit the app option. Last stored values should be stored. 1- KM to Miles Convert (30 points) The toolbar should be a blue color. The title text should be white. The title text should say Km to Miles. The screen will have a label and Textview. The EditTextview should only take numbers as an input. As soon as the user enters a number in the KM edit text, the converted value should be automatically computed in the Miles EditText, the same case should be repeated when the user enters the value in the miles the corresponding value should be converted in the KM EditText. There will be a save button. Once the save button is pressed, if there is no value is stored in the KM or Miles, it should display a toast message and set an error label above the save button. If the validation is passed, it should store both values i.e. value of KM and Value of Miles, otherwise, show an error message. 2- LBS to KGS (30 points) LBs to KGS Max Value set to 1000 LBS Min Value set to 50 LBS The difference is 50 lbs TextView for converted KGs, on the, save button press, the value should be stored in shared preferences. 3- Feet to inches (40 points) Enter a value in feet and convert the value to inches. If any value is not present and the user hits the save button. It should display an e
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started