Camera picker should have device insets to make sure elements are not drawn underneath the system bars
Actual behaviour
Camera picker and cropper draw under system bars in some circumstances
Steps to reproduce
Setup project which targets Android 15, and uses the camera image crop picker
Run on Android virtual device "Pixel 8 Pro - API 35-ext13"
Open the camera picker and cropper, and notice the system bars cover the top and bottom
Note that I cannot reproduce this on a real Pixel 8 Pro with Android 14 and edge-to-edge mode enabled but can reproduce on a real Pixel 8 Pro with Android 15
Version
Tell us which versions you are using:
Platform
Tell us to which platform this issue is related
Expected behaviour
Camera picker should have device insets to make sure elements are not drawn underneath the system bars
Actual behaviour
Camera picker and cropper draw under system bars in some circumstances
Steps to reproduce
Setup project which targets Android 15, and uses the camera image crop picker
Run on Android virtual device "Pixel 8 Pro - API 35-ext13"
Open the camera picker and cropper, and notice the system bars cover the top and bottom
Note that I cannot reproduce this on a real Pixel 8 Pro with Android 14 and edge-to-edge mode enabled but can reproduce on a real Pixel 8 Pro with Android 15
Attachments