ViewPager with Fragment with different layouts

view story

http://stackoverflow.com – I am new to using ViewPagers and Fragments together. My app has a ListView on startup, which bring the user to a details view based on a id that is passed. The problem I'm running into is that the details view has a different layout then the list view. The ViewPager is on the intial screen's layout, so when using the ViewPager the layout retains the inital layout, which is basically just a status bar at the bottom, which should go away when the user is on the details view. This is what I have so far: Main.xml (initial layout on startup, with a status bar) <?xml version="1.0" encoding= (HowTos)