Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend UseSafeArea to Android (and other platforms) #16398

Open
borrmann opened this issue Jul 27, 2023 · 1 comment
Open

Extend UseSafeArea to Android (and other platforms) #16398

borrmann opened this issue Jul 27, 2023 · 1 comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/android 🤖 proposal/open
Milestone

Comments

@borrmann
Copy link
Contributor

Description

On iOS, ContentPage has the property UseSafeArea so the entire screen can be used.
This should work on Android as well and the window should be extended to use the NavigationBar and StatusBar.
In fact there is also a Bug in Android with Shell, that the window cant be extended to use the space of the StatusBar

Window.SetDecorFitsSystemWindows(false); doesnt work with AppShell!

Public API Changes

UseSafeArea should work on Android as well

Intended Use-Case

UseSafeArea=False, when you want pages on the whole Screen on both iOS and Android (and maybe other platforms too)

@ghost
Copy link

ghost commented Jul 27, 2023

We've added this issue to our backlog, and we will work to address it as time and resources allow. If you have any additional information or questions about this issue, please leave a comment. For additional info about issue management, please read our Triage Process.

@Eilon Eilon added the area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter label Sep 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-layout StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter platform/android 🤖 proposal/open
Projects
None yet
Development

No branches or pull requests

4 participants