set layout in story board instead of in the code