I have a ContentView and I want to pop that over the entire screen to hide the content. The problem is my pages have a Grid to display the screen.
I'd like to have a global view that I add in the OnSleep and then remove it in OnResume. How Can I do this in Xamarin forms?
View is:
<?xml version="1.0" encoding="UTF-8"?> <ContentView xmlns="http://xamarin.com/schemas/2014/forms" xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="ews.CoverView"> <ContentView.Content> <StackLayout HorizontalOptions="CenterAndExpand" VerticalOptions="CenterAndExpand" Padding="40,20"> <Image Source="240.png" /> </StackLayout> </ContentView.Content> </ContentView>