Tip Calculator- Add extensions to this tip calculator.

Overview

Add extensions to this repository-

Here are some ideas:

  • Change the color scheme of the app, e.g. the background/primary/secondary color.
  • Modify the theme at app/src/main/res/values/theme.xml
  • Replace the text describing the tip (“poor”, “good”, etc) with emojis.
  • Improve the user interface through styling and coloring, e.g. change the text color, font, optimize the layout for different screens. See the styling screens FAQ.
  • Add the ability to split the bill across any number of people. (Advanced) Show currency symbols, and allow the user to change their currency.
  • Store the currency in SharedPreferences
  • (Advanced) Add another screen to the app where you can see tips made in the past.
  • Use intents to add another screen to your app.

CONTRIBUTION GUIDE

If you are new to open-source contribution and don't know how to get started, don't worry, this is a deatiled step by step guide to help you make your first contribution.

Before heading any further, open terminal and run git --version to make sure that git is installed on your machine, if not, install it from here.

Fork this repository

In order to make any changes to this repository, fork it by clicking on the fork button. This will create a copy of this repository in your account.

Clone the repository

Now, to clone this repository to your local machine, copy the url of the forked repository.

Now, open a terminal and run the following command:

git clone <copied- url>

Here, replace <copied-url> with the url of the forked repository you just copied.

Create a branch

After cloning the repository, change the current working directory to the repository directory by running the following command:

cd dimencart

Before making any changes, make sure to always create a new branch. To create a new brach run the following command:

git checkout -b branch-name

You can run git branch command to check your branch status.

Make changes

Now you are all set to make changes. For that you can use any text editor, but I will recommend using Vs Code as it feature rich and easy to use. If VS Code is already installed on your machine, run the following command:

code .

It will open all the files in VS Code.

After making the changes, run git status command. It will show you all the changes you have made.

Commit those changes

Now, before commiting the changes you will have to add those changes to the branch you created. For that run the following command:

git add .

Now commit those changes by running the following command:

git commit -m "put-your-message-here"

Push to GitHub

Finally push the changes you made to github by running the following command:

git push origin -u <your-branch-name>

Replace <your-branch-name> with the name of the branch you created earlier.

Submit the pull request

Now open your browser, here you will see a notification. Juslt click on compare & pull request.

Now submit the pull request.

Soon your pull request will be reviewed and merged. You will be notified via email once your pull request has been merged.

Congratulations!! You have successfully raised your first pull request. Share on your socials.

Happy Contributing!!

Tip Calculator

Om Narain Rai

Tippy computes the tip and total amount for a bill. The app uses the base amount and tip percentage to calculate the amount owed, and it also describes the quality of service based on the tip.

Time spent: 10 hours spent in total

Functionality

The following required functionality is completed:

  • User can enter in a bill amount (total amount to tip on)
  • User can enter a tip percentage (what % the user wants to tip).
  • The tip and total amount are updated immediately when any of the inputs changes.
  • The user sees a label or color update based on the tip amount.

Video Walkthrough

Here's a walkthrough of implemented user stories:

Video Walkthrough

You might also like...
An application that calculates the amount of a potential tip to a service that we were satisfied with.

Project: Tip Time App The 4th project of Kotlin on Android Studio Basics course. Introduction In this project we will create an interactive applicatio

TipTime - An App for Android that Calculates Tip

Project: Tip Time Introduction A Tip Calculator For Android That Will Help You F

💸Simple Android application to calculate a tip amount
💸Simple Android application to calculate a tip amount

TipTime 💸 Simple Android application to calculate a tip amount What i've learned? How to work with layouts in XML files Classes and inheritance in Ko

A calculator for quick simple calculations with a nice user interface and no ads
A calculator for quick simple calculations with a nice user interface and no ads

Simple Calculator A calculator with the basic functions and a customizable widget. You can copy the result or formula to clipboard by long pressing it

A Simple Calculator For Android With Java .

Installation Open Aide : Please at the first open AIDE app on your mobile . Create XML files : Copy XML files from the [ Res ] folder and paste them i

A Simple Calculator developed in Kotlin
A Simple Calculator developed in Kotlin

Calculator developed in Kotlin This was my first contact with mobile programming using Kotlin. The calc is basic, but it was the first project I did.

Calculator Neumorphism

Calculator Created UI With Neumorphism Arash Altafi personal website Screenshots Appendix This Library For Fornewid :) 🔗 Links https://github.com/for

An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.
An educational android app that provides services like notes, online videos and visualization calculator to learn and understand deep concepts of DSA.

Aldo ALDO is a free education app for the young programmers who are desiring to master the concepts of Data Structure and Algorithms. ALDO offers prac

Calculator provides an easy to use API to evaluate mathematical expressions

Calculator Calculator provides an easy to use API to evaluate mathematical expressions created with following operators: + - * / ( ) For example: This

Owner
null
Android-basics-kotlin-tip-time-app - Tip Time app from Android Basics in Kotlin

Tip Time Tip Time app from Android Basics in Kotlin at developers.google.com. It

Ramon Lima e Meira 0 Jan 2, 2022
Build your first Android app - a tip calculator!

Tippy - A Simple Tip Calculator for Android Build Tippy as your first Android app! Follow the YouTube walkthrough video Author: Rahul Pandey Features:

Rahul Pandey 5 Jun 24, 2022
Solution code for the Android Basics in Kotlin: Tip Calculator app

Tip Calculator - Solution Code Solution code for the Android Basics in Kotlin: T

Aaron Socas Gaspar 0 Dec 17, 2021
A tip calculator (for Android)!

Tippy - A Simple Tip Calculator A tip calculator (for Android)! Author: Jakob Rössner Features: Pure Kotlin Single screen No libraries Language suppor

Jakob Rössner 3 Dec 15, 2022
Calculator is a simple 4 function calculator

Calculator Calculator is a simple 4 function calculator, with a panel that has more advanced functions when you need them. It includes history, real t

Will 207 Jan 8, 2023
Kotlin-basic-calculator - Basic calculator to understand syntax and the methods of Kotlin

KotlinBasicCalculator I always love to create a calculater for understand the sy

Onur Serbes 1 Mar 8, 2022
Calculator - A Simple Calculator Application Using Kotlin Language

Calculator A Simple Calculator Application Using Kotlin Language Some Screenshot

Shounak Das 3 Oct 17, 2022
BigNumber-Calculator - Big Number Calculator in Kotlin Tornadofx

BigNumber-Calculator Big Number Calculator in Kotlin Tornadofx

null 10 Dec 9, 2022
Calculator - A Simple Calculator for android

SimpleCalculator Calculator for android

Midoriya 0 Feb 12, 2022
Neat little beginner android app for calculating restaurant tip.

TipCalAndroidApp Check it out on the playstore https://play.google.com/store/apps/details?id=com.confuseddevs.tipcal This is the first app I published

null 0 Oct 19, 2022