Add custom textprogress bar to the mainActivity

The ordinary progress bar didn't fit my needs because it
can't have text written on it. Therefore I took an example
of a progress bar that has this ability and can be modified
for displaying the monthly and daily progress on budget
spending.

-add custom progress bar with text to the main activity
Format the progress bar values to currencies

The progress bar values are now formatted with the currency
values provided from the currency class

-apply the currencies to progress bar values
Add the correct custom ProgressBar

Created the needed correct custom Progressbar from
the LinearLayout and a few views.

- create a custom correct ProgressBar class
along with other views inside it
-add logic for making the ProgressBar change colors depending
on the values being passed
Refactor the DB to hold day, month, year values

The previous design of the DB did not provide an easy way
of extracting the needed dates from the DB as it held the
whole date in a String format which would make extracting
the day and month values by themselves very complex.
Therefore I refactored the design to make it hold day,
month and year by themselves for easier access later.

-refactor the classes that work with the DB to hold
day, month and year values by themselves.
Add a method to extract expenses for today only

In order to implement a daily expense progress bar all
of the daily expenses are needed.

-Add a method to the ExpensesDataSource that extracts
all of the expenses for the current date
Implement basic working version of progressBar

The progress bar and it's basic logic is implemented
right now, even though with though it has constants
and special cases that need to be fixed later

-the basic logic and view for the progress bar
are implemented
Add the Budget class

I though that it would be logical to add a Budget class
so that it would be clear that the values for a current
budget are accessed from the budget class and not the
shared preferences

- add the budget class
Reformat code to use the Budget class

The code now uses the Budget class created before.
This creates a more logical structure of the code.

-Get and set the budget via the Budget class
Change sharedPrefs key name to more appropriate

The sharedPreferences used before had a name related to the
currencies only. This needed to be changed in order to use
the SharedPreferences accross all activities.

-change sharedPrefs key to "myPrefsKey"
-apply java constants convention to all of the keys in the app
Progress Bar now updates upon returning

The progress bar had the problem that it wasn't updating
when you returned to the mainActivity. This was solved by
implementing the onResume() method and updating the
progress bar from there upon return.

-implement the onResume() in mainActivity in order to update
the progress bar correctly
-implement a method for updating the progress bar in the main
activity and put it in a separate method
-make the progress bar compeletely green once the budget is
Unneccesary textProgressBar deleted
Show money left/total ration in Progress bar

-implement a textview that uses the values of the
money that is left to spend by the user to the
total budget
Center the left \ total balance in the ProgressBar

Previous progress bar could not have text centered in
the middle, therefore the implementation of the progress
bar was changed to FrameLayout having a linearlayout and
a textview as children.

-change progress bar structure to frame layout with 2
children
-implement a textview in the middle of the progress bar
that shows the money left \ total balance ratio
Implement the progress bar overdraft case

If the user enters more expenses than the actual budget
then the value bar just dissapears and the user might
wonder what is happening. This was fixed by displaying
the "overdraft" message over the progress bar in case
the user goes over the allowed budget.

-display the "overdraft" message in case the user goes
over the allowed budget.
Format the progress bar text to two decimal places
Implement a method for getting monthly expenses

The daily progress bar and the monthly progress bar
need all daily and monthly expenses. Now both methods
are implemented.

-Implement a method for getting all monthly expenses in
the Expenses data source.
Add daily progress bar view

-add daily progress bar view to the MainActivity
-add two text views telling which progress bar is which
Implement the getDailyBudget() in Budget class

-implement the getDailyBudget() method in the Budget
class and apply it in the BudgetSettingsClass
Add the fully functional daily progress bar

-change the method name to updateProgressBars
-connect all of the values for the daily progress
bar to the daily progress bar view
Add a view for the balance in mainActivity