Code MainActivity layout-not tested