dotnet / dotnet/maui

[NET 10, Android] `SafeAreaEdges="None"` works on API 36 but not on older APIs like 31

Open
#32,498 12 comments 2 reactions 0 assignees View on GitHub
partner/syncfusion platform/android s/triaged s/verified t/bug
Dominant language
C#
Stars
23.3k
Forks
2k
Avg merge
1d 14h
Merged PRs (30d)
296

Description

### Description

As for https://discord.com/channels/1351511037215772672/1351511037215772675/1437825066133094561 `SafeAreaEdges="None"` is supposed to work on every Android API. Yet it doesn't seem to work on older APIs like 31 (I did not test other versions but I would suspect similar issue).

API 36:

Image

API 31:

Image

### Steps to Reproduce

In theory all you need is this kind of page

```XAML








```

### Link to public reproduction project repository

https://github.com/OvrBtn/Net10Issues/tree/SafeAreaEdges-bug (Make sure to use the SafeAreaEdges-bug branch as in the url)

### Version with bug

10.0.0-rc.2

### Is this a regression from previous behavior?

No, this is something new

### Last version that worked well

Unknown/Other

### Affected platforms

Windows, I was *not* able test on other platforms

### Affected platform versions

Android 31 (also possibly others)

### Did you find any workaround?

_No response_

### Relevant log output

```shell

```

Contributor guide

Open the contributing guide

Research direction

Check out the Net10Issues reproduction project on the SafeAreaEdges-bug branch and run the XAML page on Android API 31 and API 36 to compare the inset behavior. Trace the .NET MAUI Android handling of SafeAreaEdges and verify that SafeAreaEdges="None" produces the same layout on older and newer Android APIs.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, csharp
Domain
mobile-dev
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.