Question
Workout Tracker Android Studio application Working out is little fun, but it is important to know how you are doing and how well you are
Workout Tracker Android Studio application
Working out is little fun, but it is important to know how you are doing and how well you are maintaining course. Your application is going to track the amount of running, biking, and walking you do for your personal trainer. The application should resemble the TwitterSearches application as it has an action area at the top and list at the bottom.
1. The workout tracker should allow the user to enter an activity such as running 10 miles as an example. The first line should allow the user to enter the activity type (only allow running, biking, or walking) and the second line should indicate the amount of the activity.
The entry fields which allow the user to enter the user to enter the type of activity, the
details of the activity and the save button. NOTE: you may use a spinner to activity type
Each field should have hints to indicate what is acceptable
The list area at the bottom should be a RecyclerView should have a button on the top
labeled Progress
Each item on the list view should show a small picture indicating what type of activity it
was (again, only biking, running, or walking) along with the name of the activity + details of the activity.
i. NOTE: you do not need to sort the list view, but it would be nice if the most recent activities came first
2. Your activity main class should perform the work shown above in the following ways:
Once a user enters an exercise activity and the details of the activity, you save the activity
in the list (user would save using floating action button)
Obviously, the newly saved activity should then show up in the list
NOTE: the Floating Action button should only appear when both things have been entered.
The user MUST only enter running, walking, or biking in the activity name. if they do NOT, you need to show an AlertDialog indicating the error.
i. NOTE: if you use a spinner, this dialog isnt necessary c. The user MUST enter details of the activity in the following manner:
Walking Activity => must be a number (double in miles)
Running Activity => must be a number (double in miles)
Biking Activity => must be a number (double in miles)
If the user clicks on an activity, show an AlertDialog containing information about the
activity the user clicked on.
If the user long clicks on an activity, show a small dialog (like the one in twitter searches)
that allows the user to Share, Edit, or Delete the activity.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started