allow layout view constructors