Created custom layouts for main activity.