When using the USafeZone widget, iOS is getting data for rounded corners that avoids the UI getting cut off by the corners of the screen. However, it looks like Android doesn’t have the same support and UI is getting cut off on rounded corners. Android does appear to have an API to get rounded corner data.
- Are rounded corners intended to be supported and there’s something I’ve missed in setup?
- If they’re not currently supported:
- Is there a recommended approach to support the rounded corners on our end in the meantime?
- Is this functionality in the roadmap? Would it be possible for it to please be added to the roadmap?
Hi Mattea,
Currently, it appears we support DisplayCutout to determine window insets.
Does the ‘APK Packaging’ -> ‘Use display cutout region?’ setting get you closer to the desired behaviour?
Best regards.
Hi Mattea,
We are looking at implementing this. I’ll reach out with a CL once it’s available.
Best regards.
Hi Mattea,
This has been implemented at CL 43630781.
Best regards.
Hello! This functionality does work for the cutout that includes the camera on Android, but does not appear to affect the rounded corners.
I haven’t been able to find this update in Github or our source control copy. Is it possibly under a different number or not yet published?