Adopt the Material Motion system
By far, the card-to-view animation is outdated, glitch-y, and low-fps. Many have no transitions.
Adopt the Material Motion system to provide
- card-to-view transition (container transform: https://kstatic.googleusercontent.com/files/b0881bef905d180cf9119d1835161e1bf74f94820159f4a876df7369d36b63c250a1791f840568a686b13a241fe47692ee30c9bc1f4686bc7346e0c0f739a5af)
- Bottom navigation transition (fade through: https://kstatic.googleusercontent.com/files/cfc6bf51aad3403fb5018765418b3efeed4f59e3a958042009092aedfd4934cf377a0d26981c5f72a1392d78eba9a9310d86af015b8e39860231a05638b3715b)
- Card expansion transition (container transform)
Benefits
- Feedback and status: Motion provides timely feedback and indicates the status of user or system actions.
- User education: Motion helps users understand how to perform actions.
(From https://material.io/design/motion/understanding-motion.html)
Implementation
- Migrate most
Activity
toFragment
since the AndroidX motion library has only access to inside anActivity
, for platform-agnostic support. - Migrate the navigation method to the AndroidX Navigation Componnets which is handy for
Fragment
navigation - Adopt the Material Motion library