Use setDecorFitsSystemWindows and setting this to false The framework will not fit the content view to the insets and will just pass through the WindowInsets to the content view. Bug: 268428735 Change-Id: Iedc607c46cbe9b558f11971cc408f47f53512ee9