Create the following app using Android Studio.An app is required to calculate a

Create the following app using Android Studio.An app is required to calculate a person Body Mass Index (BMI).BMI calculator opening screen displays a title and image.The user is asked to enter their height in metres and weight in kilograms.These values are saved as persistent data using SharedPreferences.When the user taps the button a second screen is displayed.The second screen retrieves the saved values and calculates the BMI. ????????????= ????????????????h????(?????? )h?? ?? h????(????)*h?? ?? h????(????)Then displays the BMI to one decimal place. (Include an image as well on the second screen)The following conditions must be met:• Data must be saved as persistent data using SharedPreferences.• Data must be retrieved from SharedPreferences.• A second screen must be displayed.• BMI must be displayed to one decimal place.

You may also like