![]() The tip amount is displayed in a TextView, and finally a Calculate Button will tell the app to get the data from the other fields and calculate the tip amount. A list of RadioButtons lets the user select the tip percentage, and a Switch allows the user to choose whether the tip should be rounded up or not. The Cost of Service EditText allows the user to enter the cost of the service. There's a Calculate button, but it doesn't work yet. The Tip Time app from the last codelab has all the UI needed for a tip calculator, but no code to calculate the tip.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |