Ok so I implemented the functionality for the "Complete a Workout" button. How it works is that when you tap the button, a date picker pops up which allows you to select a date for the workout that you completed. Then, the workout progress chart will light up the indicator for that date.
Also, I noticed a bug where there was a big black bar at the top of my emulator (see the screenshot below). And I think the issue is related to the status bar. So, I went ahead and made the status bar visible for now:
There are a few issues that I did not have time to fix yet:
For some reason, the date that you select with the date picker does not exactly match up with the correct indicator in the progress chart.
I did not have time to figure out how to make the date storage work with @JMiller007's backend. So unfortunately, I am just storing the dates in a temporary variable for now.
Ok so I implemented the functionality for the "Complete a Workout" button. How it works is that when you tap the button, a date picker pops up which allows you to select a date for the workout that you completed. Then, the workout progress chart will light up the indicator for that date.
Also, I noticed a bug where there was a big black bar at the top of my emulator (see the screenshot below). And I think the issue is related to the status bar. So, I went ahead and made the status bar visible for now:
There are a few issues that I did not have time to fix yet: