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.
1. Create a user interface similar to that shown in the screen capture below. - use...
In C++ Please please help.. Assignment 5 - Payroll Version 1.0 In this assignment you must create and use a struct to hold the general employee information for one employee. Ideally, you should use an array of structs to hold the employee information for all employees. If you choose to declare a separate struct for each employee, I will not deduct any points. However, I strongly recommend that you use an array of structs. Be sure to read through Chapter...