The LayoutTransition class (added in Android 3.0) enables easy fade/move/resize animations when items are added to or removed from a ViewGroup, usually with just one line of code. This video shows how this works and also shows the new ability added in JellyBean (Android 4.1) to animate other changes to the layout as well, not limited to items being added or removed.
YouTube:
https://www.youtube.com/watch?v=55wLsaWpQ4g
Code:
http://developer.android.com/shareables/devbytes/LayoutTransChanging.zip
YouTube:
https://www.youtube.com/watch?v=55wLsaWpQ4g
Code:
http://developer.android.com/shareables/devbytes/LayoutTransChanging.zip
Comments
Post a Comment