Replaced TextView with ListView and changed RelativeLayout to FrameLayout in fragment_main.xml