Handle Status Bar Insets In Compose
While working on a personal project, I ran into an issue caused by new Android behaviors, specifically the forced edge-to-edge mode starting from Android 15 (SDK 35).
The documentation is very clear about this: the intent is to force every app to modernize and draw its content under the system bars (or at least handle them explicitly).
Let’s take a closer look at the problem:




