muak / AiForms.Dialogs

AiForms.Dialogs for Xamarin.Forms
MIT License
153 stars 20 forks source link

[Enhancement] A way to show dialogs behind the system bars on Android #13

Open jmkyarrow opened 4 years ago

jmkyarrow commented 4 years ago

Summary

It would be awesome to be able to show dialog fully behind the status and navigation bars on Android.

API Changes

On the DialogView and possibly LoadingView base classes, there could be an additional property called 'ShowBehindSystemBarsAndroid' or something to the like. I suppose this would typically go inside the XAML declaration of the user-derived class.

Maybe under the hood it would utilise the 'Layout No Limits' window manager flag for the dialog fragment.

Intended Use Case

This would be great for using the dialog for cross-page transitions where the whole window needs to be obscured, or for width dialogs with blurred backgrounds, when in both scenarios the system bars stop the experience from feeling immersive.