No view found for id 0x7f0800c4 for fragment
问题 I get this error when I am trying to replace the parent fragment ( SearchFragment ) from the child fragment ( ClassroomsTab ) in a swipe tab viewPager . Basically what I am trying to achieve is have a swipe tab menu with multiple buttons in each child fragment that closes the swipe tab menu and open a different existing fragment. The SearchFragment is in a Navigation Drawer activity and so is the destination fragment of the buttons. From what I have read, a solution to this issue is to