With MVVM Architecture pattern using Android Architecture Components This is a sample app demonstrating Youtube player animation using constraint layout
Why do you think that https://github.com/andkulikov/Transitions-Everywhere is a good alternative to Youtube UI/UX Animation