Tip Calculator utility app which allows a user to calculate the appropriate tip based on the total amount entered.
Total Hours = 20+ hours spent in total
- User is displayed the tip of specified percentage for specified entered amount
- User enters the total amount of the transaction
- User can select between tip amounts (i.e 10%, 15%, 20%)
- Use Radio Group and experiment with Shapes and selectors to have circle RadioButtons
- Upon selecting tip amount, formatted tip value is displayed
- Optional: User changes the total amount and updated tip is reflected automatically
- Optional: User can select custom tip percentage if desired
- SeekBar and shapes/selectors to design the Progress Bar and the Thumb
- Optional: User can select how many ways to split the tip
- SeekBar and shapes/selectors to design the Progress Bar and the Thumb
- Optional: User can edit preset tip percentages and have them persist across launches
- Use Custom Dialog Fragment to edit the tip percentages
- Use Shared Preferences to persist and load the values across launches
- Optional: Experiment with trying input widgets to replace the buttons and/or textviews
- RadioButtons and SeekBars
- Optional: Improve the user interface and experience by using images and/or colors
- Additional: Location the city of the current restaurant and find the sales tax of the city.
- Tax tables for various cities is stored in res/xml directory in Xmlformat.
- Persist the preset tip amounts across launches using SharedPrefernces
- Use GPS and Geocoder to determine the name of the city
- โ Please see attached images for screenshot since geocoder requires a backend service that is not present on the emulator. Didnt find a check mark image and used fill color as an experiment
- Additional: Compute PreTax Amount and Tip on that based on the city
- Additional: Change shape of circles into polygons( explore canvas )
- Additional: Get the name of the restaurant and persist tips/amount and obtain a history for a restaurant
- Additional: Search tip history for a specific restaurant
- Additional: Show tipping etiquette information from itipping.com
- Additional: Settings -> Turn on GPS ON/OFF
- Customization of UI using themes and styles.
- Creating effects with Shape Drawable, StateListDrawable
- SeekBar , Radio Button Control
- TextWatcher
- Background images - Opacity , Scaling etc
- GPS related
- using xml resources in map format.
- Use Android Lint (Addressed one performance issue - Move background image to styling instead of in the activity - overdrawn issue)
- Wire framing using FluidUI
- Async Task
The background image is from Ghirardelli Square ,chocolate making process during one of my trips. The place was granted the National Historic Register Status in 1982. The image does not show well on Licecap.
GIF created with LiceCap.