Updated main activity layout.