adds main activity layout