Transition Animation For Android Using Xamarin Forms
Solution 1:
I have developed a plugin to make this type of transitions in xamarin forms (for ios and android).
The key is to use a custom NavigationPage. In iOS, you need to implement IUINavigationControllerDelegate and IUIGestureRecognizerDelegate, in Android its easier: just override the SetupPageTransition method.
You can find all the source code here: https://github.com/Evolutionlab/Xamarin.Plugin.SharedTransitions
Here the Nuget package: https://www.nuget.org/packages/Xamarin.Plugin.SharedTransitions/
P.S.
Yes, on Android Xamarin forms use a single activity. The NavigationPage use Fragments to navigate between pages.
Solution 2:
The key point is that do the Xamarin.Form have the similar function "MakeSceneTransitionAnimation"?
As my point of view:
U can use
PushAsync(Page page, Animationanimation)
to defined your page animation as the gif shows.
When the new page init u should use the
MyImageControl.TranslateTo(-100,-100, 1000);
To defined the control animation.
Post a Comment for "Transition Animation For Android Using Xamarin Forms"