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

Displaying a View over the entire screen

$
0
0

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>


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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