In this video, I will show how to use a StateListAnimator, to cause a view to raise in elevation when a user presses it. This is referenced in the Material Design guidelines, regarding the “Responsive Motion” Principle.
In this lesson you will learn:
Review concept of using StateList for touch feedback
How to create a StateListAnimator resource
How to animate an View elevation on press, using a StateListAnimator