re created main activity layout