What I'd like to achieve is an effect like this:
Is it something I can achieve using ActivityOptionsCompat
or are there other options? How can I replicate an effect like this where the FAB kinda "expands" to a new Activity
?
These animations are related to material designs, which is called
Shared elements between Activities.
The idea behind this is having two different views in two different layouts and link them somehow with an animation.
Transition framework will then do whatever animations it consider necessary to show the user a transition from one view to another.
Keep this always in mind: the view is not really moving from one layout to another. They are two independent views.
Animation between the views will look like
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With