Xamarin.Forms - Android MasterDetailPage Navigation

Hi all,

I've noticed some strange behaviour that I'd hope someone could help me with.

I'm using the MainActivity as a splash screen before loading the forms application.

When I navigate between pages in my Xamarin.Forms application, I can see for an instant the underlying MainActivity splash screen.

I know that if I'll use a different activity for the splash screen, and then move to the MainActivity with blank layout - I'll see a blank page in between.
This is also not desired, but I'll live with it if there's no solution to this.

Maybe I should add some transition animation? Any other ideas?

Thanks, hope that the description was understandable.

Answers

  • RonanA.7363RonanA.7363 IEMember ✭✭

    I have the exact same issue. Did you ever find a way around it?

  • Eric_LiraEric_Lira USMember ✭✭✭

    Hey @tomer_domshlak.
    Have you tried set "NoHistory = true" on your Splash Activity?
    Something like this
    [Activity(Label = "MyApp", Theme = "@style/Theme.Splash", MainLauncher = true, NoHistory = true)]

  • RonanA.7363RonanA.7363 IEMember ✭✭
    edited January 15

    @EricLira.9116 said:
    Hey @tomer_domshlak.
    Have you tried set "NoHistory = true" on your Splash Activity?
    Something like this
    [Activity(Label = "MyApp", Theme = "@style/Theme.Splash", MainLauncher = true, NoHistory = true)]

    No that didn't work for me. Still see the splash screen when moving between pages

  • tomer_domshlaktomer_domshlak ILMember ✭✭
    Are you navigating between pages, or just setting the MainPage's value? The latter will cause the current activity to be shown for a second (from my experience).
Sign In or Register to comment.