Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 89864

Remove animation between SplashActivity and MainPage

$
0
0

I have a Xamarin Forms project, which has a SplashScreen implemented separately on IOS and Android. When the SplashActivity finish, my MainPage is loaded with an animation.
I'm not sure if the animation is between SplashAcitivity and MainActivity on Android, or if it's between MainActivity (on Android) and MainPage (PCL), in the LoadApplication method. The animation only occurs on Android.
I've tried to start the MainActivity setting the NoAnimation flag for the Intent, but the animation is still there.

Intent intent = new Intent(this, typeof(MainActivity));
intent.AddFlags(ActivityFlags.NoAnimation);
StartActivity(intent);

How to remove this animation?


Viewing all articles
Browse latest Browse all 89864

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>