Closed blonsky95 closed 4 years ago
Guide on its way - button in action buttons triggers it to appear, and back or pressing return gets rid of it.
Guide shows what each button does - fragment logistics implemented in todays commit - need to do content, ui and string resources
Guide is done
Do an intro to show potential things
support for onboarding is crap - its in tv section + theme interference + no good docs about the fragment - use viewpager instead and an activity
https://www.codexpedia.com/android/a-simple-onboarding-screens-using-viewpager-in-android/
Doing my own onboarding with viewpager
things to point out:
in Main activity inside onCreate I'm checking for user first time, before calling any other functions or even setting the content view, so it doesnt flash the content view first:
override fun onCreate(savedInstanceState: Bundle?) {
if (Utils.isUserFirstTimer(this)) {
startActivity(Intent(this, OnBoardingActivity::class.java))
} else {
super.onCreate(savedInstanceState)
setContentView(layout.activity_main)
other code & whatever
}
}
next do layout
SCREEN 1: Welcome to TimeStopper, In this app you can analyse video as well as measuring time in a more precise way FOTO Botto right says NEXT
SCREEN 2: Change the video speed from 0.1 to 2.5 of its normal speed Zoom in and out Go to previous or next frame (while paused) (( 3 mentioned above go with PHOTO))
Bottom right says next
SCREEN 3 Take precise timings using the time control buttons PHOTO
bottom right says - I'm ready!
do strings to spanish - and a bit of ui
Doooooooone
https://material.io/design/communication/onboarding.html#usage
https://developer.android.com/training/tv/playback/onboarding
read and plan this out