Question

1. Create a user interface similar to that shown in the screen capture below.
- use one Activity and three Fragments
- - MainActivity (UI: containers for the three fragments)
- - TotalsFragment (UI: Total Amount and caption)
- - Tax Fragment (UI: Tax Rate Seekbar, Tax Rate, Tax Amount and captions)
- - ItemsFragment (UI: Four Editboxes and captions in Scrollview)
- the ItemsFragment should be contained in a ScrollView so that it can move up with the keyboard.
2. Allow the user to select a tax rate using the SeekBar. The tax rate should range from 0 to 25%. Moving the SeekBar should update the tax rate, tax amount and total amount.
3. Allow the user to enter amounts in each of the four Item EditText boxes (use the decimal keyboard). The item amounts should be scroll-able via the use of a ScrollView.
4. Whenever an item amount or tax rate changes, the total amount should reflect the change.
5. The app should preserve state (including the state of the tax rate) by persisting all of the amounts in SharedPreferences using onPause() and onResume() .  
6. Check to insure that you have resolved all errors and warnings.

* N 1 0096 ? 10:15 PM CS3270A4 Rob Hilton $495.00 Tax Rate 10.00% Tax Amount $45.00 Total Amount 50 Item Amount 150 Item Amount 12 3 PC) WC) 4CS3270U16A4Cap2.png

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Accessing arguments by position o, f1, 12).format(a b, c) 12, f1, fo.format(a b, c) 12, f1, fo.format( abc) c, b,Aligning the text and specifying a width >>>1e:<30.format(left aligned) left aligned >>e:30.format(right aligned) right a>>> for align, text in zip(<[left, center right]): (e:falignffill)16).format (text, fill-align, align-align) left<<KKKK>>> from string import Template >>> s = Template($who likes $what) >>> s.substitute(who tim, what-kung pao) tim likes k

Add a comment
Know the answer?
Add Answer to:
1. Create a user interface similar to that shown in the screen capture below. - use...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT