change to FrameLayout and add ListView inside fragment_main xml file