I'm new to Xamarin.Forms and I'm showing a page as a modal by using:
await Navigator.PushModalAsync(modalPage);
I understand you can set the modal size to things like:
- FormSheet
- FullScreen
- OverFullScreen
etc
But is it possible to set the size of a modal page to a custom size?
Ideally, I'd like it to be almost full screen but with a bit of a gap around the modal so you can still see the page underneath if that makes sense?
CodePudding user response:
https://github.com/rotorgames/Rg.Plugins.Popup
This is the plugin I always use to meet the UI look requirement you mentioned (padding - so I can still see the page underneath).
CodePudding user response:
Instead recommended to use Popups you have 3 options, and all are customizable in size and animation
Free 1: https://github.com/rotorgames/Rg.Plugins.Popup
Free 2: https://docs.microsoft.com/en-us/xamarin/community-toolkit/views/popup
Pay or Community Account for Free 3: https://help.syncfusion.com/xamarin/popup/getting-started