The material design standards call for the floating action button to be animated onto the screen. Look at how that can be done.
- [Instructor] The MaterialDesign standard…calls for the Floating Action Button to be animated…as it enters the stream.…We'll now change how the Floating Action Button is displayed…to add that animation.…The first thing we have to do…is ensure that the Floating Action Button isn't visible…when the activity is first displayed.…I'm going to go into our main activity…and look at our OnCreate method.…And at the bottom in the OnCreate method,…I'm going to take our reference to the Floating Action Button…and we're going to set its visibility equal to Invisible.…
To animate the appearance of the Floating Action Button,…we will create a new method.…We'll call this method AnimateShow,…and pass in the View as the parameter.…And here's our View as a parameter.…The first thing I'm going to create is a new ScaleAnimation.…And what a ScaleAnimation allows us to do…is basically have our View appear to grow…onto the screen from a single point.…So we're going to set that equal to a new ScaleAnimation,…and the first couple parameters have to do with the fact…
- Breaking down a material design layout
- Adding AppCompat
- Adding icons and floating action buttons
- Animating the appearance
- Creating a RecyclerView
- Creating a ViewHolder
- Modifying the adapter
- Adding CardView
- Adding transition animations
- Adding a Snackbar
- Working with CoordinatorLayout
Skill Level Intermediate
F# and Xamarin Development Basicswith Rachel Reese56m 43s Intermediate
1. What Is Android Material Design?
2. Implementing Material Design
3. Floating Action Button
View state change animations4m 17s
Next steps1m 40s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.