Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

PNP2 Workout Project Make up Post

This week I worked I was able to finished the two UI that I was working on, that being the workout planner UI and the main UI. The workout planner UI will have the user select a day that they want to input data into in the calendar and then from there they can input the data they want about their workout whether that be the workout type, the weight, and the reps and sets. This data is then stored and I will later work on having that stored data go into potentially firebase so that I can pull it for the part in the project I have planned later. The main user interface was where most of my focus went to but it wasn't because of UI elements. I was able to set up the UI so that there are 4 image buttons at the top that when they are clicked, they will send the user to the appropriate activity. Below that the date will be displayed and it will also display the information pulled from the main activities for that day being the users workout routine, their meal plan, and then it will also show a big headline for the day based on health science. 

The main issue that I came across was when I was trying to add some functionality to the main UI and precisely to the image buttons. I was trying to get them to change the activity over to the their respective layout when clicked, but I realize now that my UI's are all layouts and only layouts. There is no activity associated with them therefor there is nothing for me to start. So now my struggle is finding a way to link my layouts to an activity that I can use for my functionality. I plan on continuing to work on this aspect and once I am done with that I want to get the displays on the main UI working by adding a way to store and pull the data that is stored by the planners. I believe we will utilize firebase for that so that will be my plan going forward.


Support this post

Did you like this post? Tell us

Leave a comment

Log in with your itch.io account to leave a comment.