Skip to content

fix wrong layouts on Android 15 due to default edge-to-edge feature#1521

Merged
David-Development merged 3 commits intomasterfrom
target-api-35
Apr 27, 2025
Merged

fix wrong layouts on Android 15 due to default edge-to-edge feature#1521
David-Development merged 3 commits intomasterfrom
target-api-35

Conversation

@David-Development
Copy link
Copy Markdown
Member

Since Android 15 (Target SDK 35) Edge-To-Edge is enabled by default.. which breaks the app quite a bit since the AppBars etc.. are hidden behind the status bar because we don't use Compose yet.

--> https://developer.android.com/develop/ui/views/layout/edge-to-edge

Since it was quite tricky to find a solution for the Podcast Overlay etc.. Positioning them correctly by respecting the insets seems to be somewhat difficult. Therefore, for now I'm just using the android:fitsSystemWindows="true" to restore the previous functionality.

Signed-off-by: David Luhmer <david-dev@live.de>
Signed-off-by: David Luhmer <david-dev@live.de>
Copy link
Copy Markdown
Collaborator

@Unpublished Unpublished left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Works for me on Android 15

Signed-off-by: David Luhmer <david-dev@live.de>
@David-Development David-Development merged commit 94829b0 into master Apr 27, 2025
16 checks passed
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