change the layout of the main activity