Android Animations by Tutorials: Build Meaningful Motion in Android Apps
- Length: 221 pages
- Edition: 1
- Language: English
- Publisher: Razeware LLC
- Publication Date: 2021-12-14
- ISBN-10: 1950325563
- ISBN-13: 9781950325566
- Sales Rank: #5245629 (See Top 100 Books)
Learn How to Use Animations in Android!
Over the years Android has provided many APIs for creating animations. An Android developer must create visually appealing and useable apps by incorporating a wide variety of these animation tools in the right places.
Android Animations by Tutorials is here to help, by showing you the way to use simple and subtle view animations, animating transitions between activities and fragments, animating lists including gestures and scrolling and even using animations in the new Jetpack Compose.
Who This Book is For
This book is for developers who know the fundamentals of Android and are familiar with the common Android SDK features, but would like to build beautiful user interface’s with meaningful motion in the most crucial parts of their apps.
Topics Covered in Android Animations by Tutorials
- View Animations Learn how to use ValueAnimator and ObjectAnimator to provide subtle yet meaningful cues to your users. Learn to animate custom views.
- XML Animations Explore how to use XML animations on views and also when transitioning between activities and fragments.
- Transition Animations Add cool animation effects when transitioning between activities and fragments with and without the navigation component.
- Shared Element Transitions Transition between a list item and a detail view while highlighting a shared element between the two screens to create an amazing user experience.
- List Animations Utilize ItemAnimator to animate the creation, reordering and removal of items in a list.
- Animate Gestures with Lists Animate drag and drop gestures when reordering a list, use item resetting to notify a user when they’ve swiped an item.
- Scrolling Animations Create amazing animation effects when the user scrolls views and lists in your app.
- Jetpack Compose Animations Take a look at how to use animations in the exciting new Jetpack Compose by responding to state changes.
One thing you can count on: after reading this book, you’ll be prepared to add meaningful motion to the most important parts of your own Android apps.
Book License What You Need Book Source Code & Forums About the Authors About the Editors Introduction How to read this book Chapter 1: Value & Object Animators Setting up the project Exploring ValueAnimator Understanding interpolators Using interpolators Animating multiple properties Animating single properties with ObjectAnimator Animatable properties Challenges Key points Chapter 2: Animating Custom Views Setting up the project Building the progress animation Adding the progress bar’s alpha animation Reversing the animations Animating the text size Key points Chapter 3: XML Animations Why use XML animations? Setting up the project Writing your first view animation in XML Using ValueAnimator in XML Using ObjectAnimator in XML Key points Chapter 4: Animating Activity & Fragment Transitions With XML Transitioning between activities Components of an activity animation Getting started Creating the activity enter animation Creating the activity exit transition Wiring up the enter and exit activity transitions Polishing the activity transitions Transitioning on back press Using architecture component animations The anatomy of a navigation component animation Creating the enter and exit fragment animations Setting the navigation component animations Challenge: Creating the pop enter and pop exit detail animations Key points Where to go from here? Chapter 5: Transition Framework Introducing the Transition framework The anatomy of a Fragment transition Creating a fade transition Fading the signup screen in Using Material Design transitions Cleaning up the material transition Fixing flashing views with transition groups Animating individual views Combining transitions with transition sets Targeting a specific view in a transition Sliding the logo view back down Changing the transition group logic Challenges Key points Chapter 6: Element Transitions Getting started Introduction to shared element transitions Anatomy of a shared element transition Sharing the logo TextView Defining a transition name Triggering the shared element transition Types of shared element transitions Customizing the shared element transition Fixing the fading issue with ChangeTransform Creating a custom text size transition Building a text size Animator Wrapping up the logo shared element transition Revealing a tab with a circular reveal Anatomy of a circular reveal Determining when tab animations should run Executing the circular reveal Key points Chapter 7: Basic List Animations Getting started Layout animations Using data set changes to animate list items Using ItemAnimators DiffUtil & ListAdapter Challenge: Add rotation animations Key points Where to go from here? Chapter 8: ItemTouchHelper Animations Getting started Creating ItemTouchHelper.Callback Adding item swipe gestures Implementing drag-and-drop gestures Challenges Key points Where to go from here? Chapter 9: Animate Scroll Gestures Getting Started Reading RecyclerView’s scroll state Building a CoordinatorLayout screen Challenges Key points Where to go from here? Chapter 10: Jetpack Compose Animations Setting up the project Animating visibility changes Animating content sizes Animating state changes Challenge: Animating the button color Key points Where to go from here? Conclusion
Donate to keep this site alive
1. Disable the AdBlock plugin. Otherwise, you may not get any links.
2. Solve the CAPTCHA.
3. Click download link.
4. Lead to download server to download.