Designing Main Activity.