Hello everyone, I'm targeting android 15 and I hav...
# compose
r
Hello everyone, I'm targeting android 15 and I have enabled
enableEdgeToEdge
in my activity. In compose, I use
safeDrawingPadding
to avoid overlapping my content. This works fine on API 35 (status bar, navigation bar and cutout padding is applied). However, when running the same app on API 32 the content overlaps the cutout (only status bar and navigatiion bar padding is applied?)
f
I think it might just be an emulator bug. I've seen this several times where the UI would draw beneath the front camera on the emulator, but the app behaved correctly on a real device.
t
Yes emulators are broken for the cuthole handling, it was fixed only in the last images. I think you can make it work for API 33 and 34 by enabling the dev settings too, but anything before will not work.
r
Ahh okay. Thank you for the replies! I will try it on a real device and also with 33 or 34