android-transitions
Animate layout change of bottom sheet
Based on your description, I think you are trying to achieve something like google maps bottom sheet behaviour. The layout changes as the bottomsheet is dragged up. If that is what you are trying to achieve then you don’t need to enforce custom animations, as the bottomsheetdialog itself has those animation behaviour when incorporated inside … Read more
How to remove Black background between start new activity during slide_left animation?
Setting the Theme didn’t work for me, but adding an exit animation did. overridePendingTransition (R.anim.push_up_in,R.anim.hold); For the exit animation, I just used an animation that does nothing. <?xml version=”1.0″ encoding=”utf-8″?> <set xmlns:android=”http://schemas.android.com/apk/res/android”> <translate android:fromYDelta=”0%p” android:toYDelta=”0%p” android:duration=”2000″/> </set>
How to animate floating action button using android activity transition?
Question is old, however it is still interesting. That’s how I implemented this: First of all you need to create two ViewGroups which in transition api are called “scenes”. First scene contains views before transition, second one contain views after transition. Then you should just replace first scene with second one and provide Transition which … Read more
Fragment shared element transitions don’t work with ViewPager
Probably you’ve already found an answer to this but in case you haven’t, here’s what I did to fix it after a few hours of scratching my head. The problem I think is a combination of two factors: The Fragments in ViewPager load with a delay, meaning that the activity returns a lot faster than … Read more