UI stops fullscreen view when navigation disabled?

Hi,

If I disable the navigation head and footer in order to build a custom menu, the app ceases to stretch the full screen of my device. I cant find any information to resolve this - can you tell me what I’m doing wrong, please?