A) Designing User Interface.

Added on - 18 Sep 2019

  • 4

    pages

  • 953

    words

  • 98

    views

  • 0

    downloads

Showing pages 1 to 2 of 4 pages
A)DesigningUserInterfaceTheAlphaFitnessapp(Figure1)hasseveralActivities. ThefirstActivity thatwillbelaunchedatthestarttimeisRecordWorkoutActivity. Ithasafragmentforportraitmodeandafragmentforlandscapemode.WhenRecordWorkoutisintheportraitmode,theusercanpresstheStartWorkoutbutton.Onceclicked,theStartWorkoutbuttonbecomestheStopWorkoutbutton.Thedistanceanddurationoftheworkoutwillberecordedinrealtimeandshownonthescreen.TheroutefortheuserwillberecordedusingAndroid’sGPSservicesandshownonGoogleMap.Whentheuserrotatesthescreen,theRecordWorkoutActivity goes intothelandscapemore.TheWorkoutDetailsfragmentwillbeshown.IntheRecordWorkoutActivity, thereistheUserProfilebutton.Whentheuserclicksonthisbutton,thesecondActivity screenforuserprofilewillbeactivated.Usercaneditname,selectgenderandinputweightinformation.Thesamescreenalso givessummariessuchasweeklyaverageandalltimetotalfordistance,time,numberofworkoutsandcaloriesburned.UsercanusetheAndroid’sGoBackbuttontonavigatebacktotheRecordWorkoutscreen.
Figure1. UserinterfacedesignforAlphaFitness.Thediagramshowskmastheunitbutyoumaywanttochangeittomiles.