AlexandrNikulin / AnimationNavigationPage

AnimationNavigationPage is a NavigationPage with custom transitions animation effects.
Apache License 2.0
236 stars 37 forks source link

How to animate old and new pages on Android when the new page is being pushed #73

Closed petro2050 closed 2 years ago

petro2050 commented 2 years ago

I want a page push animation on Android that's similar to iOS. I'm using the following line:

public IPageAnimation PageAnimation { get; } = new PushPageAnimation { Duration = AnimationDuration.Short, Subtype = AnimationSubtype.FromRight };

I noticed that, as a new page is being pushed, the old one is staying intact. On iOS, the default behavior that comes with NavigationPage is both pages animate. Is it possible to accomplish the same thing on Android using this library?