79626301

Date: 2025-05-17 07:53:03
Score: 2.5
Natty:
Report link

As it turned out, my application just needed 2 additional lines:
EdgeToEdge.enable(this); in onCreate
and <item name="android:windowLayoutInDisplayCutoutMode">shortEdges</item> in the application theme.
With these lines the cutout calculation works correctly.

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Self-answer (0.5):
  • Low reputation (1):
Posted by: Sasha Minsky