Set layout to null to suppress warning

Not applied in 0f1660437beba58cd2974f07270b19305b9bbfd9.