Skip to content

Edge to Edge on Modals for .NET 9#2

Open
Redth wants to merge 6 commits intotranb3r:mainfrom
Redth:main
Open

Edge to Edge on Modals for .NET 9#2
Redth wants to merge 6 commits intotranb3r:mainfrom
Redth:main

Conversation

@Redth
Copy link

@Redth Redth commented Oct 4, 2024

This shows how you can achieve making the Android Modal content show Edge to Edge in .NET 9 where the modals use a DialogFragment.

For .NET 8 it's not quite as straight forward and I didn't dig too deep, but you could probably apply a similar approach checking the type of the fragment in the OnStart is "ModalFragment" (may need to check type name since it's private), and manipulating the views to extend them to the edge.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

Comments