Method updateStandard
(Fig. 3.13) updates the 15% tip and total TextView
s each time the user changes the bill amount. The method uses the billAmount
value to calculate the tip amount and the total of the bill amount and tip. Lines 78–79 display the amounts in currency format.