Question: Use Android Studio to create a GPA calculator using Java and XML. The app needs to have the followings: At least five labels (textviews) and

Use Android Studio to create a GPA calculator using Java and XML. The app needs to have the followings:

At least five labels (textviews) and text fields that accept grades for 5 courses.

A button with a label Compute GPA A Label to display the GPA.

The app should be called GPA_[your net id]_Calculator Select and assign an icon for the app.

Your app should not accept empty fields.

Your app should display a red background if GPA less than 60, Yellow for 61-79, and Green for 80 to 100.

The text on the compute button should be changed to clear form once click.

Additional challenges: When you start typing in the fields again after the first GPA calculation, change back the button text to show compute GPA. If an entry field doesnt have the right data make it red.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!