79205754

Date: 2024-11-20 04:01:11
Score: 0.5
Natty:
Report link

Add this to the activity that has edge-to-edge enabled.

<item name="android:windowLayoutInDisplayCutoutMode" tools:targetApi="o_mr1">always</item>

This prevents the activity's contents from being pushed below the status bar because it forces that space to be always available.

Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (0.5):
Posted by: Jorge Guillermo Negrete