Updated the activity layout.