Completing layout of new main activity.