A view State animation animates changing a property when a view's state changes. Here we start such an animation.
- [Instructor] Android Material Design has several…different types of animations that have been included.…One type of animation is a view state change animation.…As the name implies, this kind of animation…happens as the state of a view changes.…For example, if a user touches a view, its state changes.…There may be an animation you add for that.…In our sample application, we have two image buttons…on the Add Activity screen.…Unlike normal buttons in Material Design,…the image button does not have a shadow by default.…We want to add a shadow so it works like any other button,…so in this case, we're going to add…a view state change animation for it.…
This animation will show a shadow in the image button's…normal resting state, but the shadow will get larger…as the user touches it.…It will appear to lift off the screen,…just like a normal button.…These animations will only work on Lollipop…and above devices.…Devices running in lower API versions will still…see the views, but without the associated shadows.…The first thing we will do is add an animation resource.…
- 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 Blasucci56m 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.