modify the layout of mainactivity