Skip to content

Display Edge to Edge feature is disabled for API level 35 #18835

Closed
@emmauss

Description

@emmauss

Describe the bug

On the release of Android 15 and its api level 35, all apps are forced to display edge to edge. This behavior can not be changed. As such, any dotnet android app target net9-android will use the default api level for net9-android, which is 35, and will have this issue.
We target and support net8 in all our projects, but our templates have the option to target net9. So this issue must be fixed in 11.3.x versions to support both net8 and net 9. We may have to disable the option altogether for android for v12, as net 10 would be released by then and we will most likely target that.

This behaviour change will only be for devices running Android 15. Android 14 and older maintains the previous behavior.

To Reproduce

Target net9-android in your app project and run it on an android 15 device. Content will display under the status and navigation bars.

Expected behavior

No response

Avalonia version

11.3.0

OS

Android

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions