You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I’d like to see the possibility of adding a UseFullScreen property to the ContentPage class in .NET MAUI. Adding this property would enable apps to expand content to the screen edges on Android and iOS, providing a full-screen experience without requiring adding platform specific code.
As a mobile developer, I often want to create immersive UX apps like Google map, which uses the full screen. Currently, this requires manually adjusting system UI visibility and handling insets with platform-specific code, which can be a hassle. Adding a UseFullScreen property to ContentPage would make it much easier to achieve a full-screen experience and enhance the overall developer experience.
I'm also certain that many other developers have achieved similar results in their applications as well. However, I'm curious if this feature has been considered before, and if so, what were the reasons for not being included? One possible reason I can think of is that I'm using the Community Toolkit to adjust the status bar color, while the ContentPage class is designed to remain independent of external libraries. However, setting the status bar color can also be achieved using platform-specific code. Another potential reason I can think of is that platform APIs are frequently updated, which leads to maintenance challenges. What do you guys think?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I’d like to see the possibility of adding a
UseFullScreen
property to theContentPage
class in .NET MAUI. Adding this property would enable apps to expand content to the screen edges on Android and iOS, providing a full-screen experience without requiring adding platform specific code.As a mobile developer, I often want to create immersive UX apps like Google map, which uses the full screen. Currently, this requires manually adjusting system UI visibility and handling insets with platform-specific code, which can be a hassle. Adding a
UseFullScreen
property toContentPage
would make it much easier to achieve a full-screen experience and enhance the overall developer experience.I've created a simple
BasePage
class to demonstrate this feature: Sample App Repo, and it has worked well in my testing. I also wrote a blog post: Step-by-Step_ Crafting a Transparent Status Bar and Bottom Notch for Android and iOS Apps.pdf. Even though it may be a bit rough, it effectively demonstrates the feasibility of Full Screen mode.I'm also certain that many other developers have achieved similar results in their applications as well. However, I'm curious if this feature has been considered before, and if so, what were the reasons for not being included? One possible reason I can think of is that I'm using the Community Toolkit to adjust the status bar color, while the
ContentPage
class is designed to remain independent of external libraries. However, setting the status bar color can also be achieved using platform-specific code. Another potential reason I can think of is that platform APIs are frequently updated, which leads to maintenance challenges. What do you guys think?Beta Was this translation helpful? Give feedback.
All reactions