Long description

A, initial G U I. There is a field that reads, enter amount. Below the amount field is a seek bar. Move the seek bar thumb to change the tip percentage. The seek bar is set at 15 percent. The selected tip percentage is displayed as text to the left of the seek bar. Tip and total fields are below the seek bar, both set at $0.00. Below the tip and total fields is a keypad. Touch the keypad’s numbers to enter the bill amount as a whole number of pennies. The app divides your input by 100.0 to calculate the bill amount. Touch the back space button to delete digits from right to left. B, G U I after user enters the amount 56.32 and changes the tip percentage to 25 percent. The tip calculator window has an amount of $56.32, a tip of ...

Get Android How to Program, 3/e now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.