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

Navigating to a full screen page from a master detail page

$
0
0

In a master detail page setup, how would one open a full screen page (no status bar or action bar)? This is because I'd like to play videos or display images in full screen mode.

I can think of three ways to go about doing this;

  • Push a content page on the MasterDetailPage's Detail like any other page and handle hiding status and action bars via DependencyService
  • Open it as a modal (I've never worked with modal pages before, so I'm not sure if this is possible)
  • Hold MasterDetailPage as a static variable somewhere and replace MainPage with a full screen content page

I've tried the last option. It works fine except that switching from MDP to a content page creates an ugly transition animation in Android. Going back to MDP sometimes kills the status bar so I can't show it unless the user navigates to another page.


Viewing all articles
Browse latest Browse all 89864

Trending Articles



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