used setcontentview in HomeActivity to display the layout.