Disabling layout

The way to disable a layout