changed activity2 to a relative layout