Why when using FragmentContainerView, the design tab is not refreshing?

Viewed 144

While im learning to navigate between fragment, i've got this warning.

Replace the <fragment> tag with FragmentContainerView.

So i easily fixed the warning by replacing the tag and now the design tab is not showing the fragment that i have make. This is the screenshot of it: not normal

This is the screenshot of normal condition when I'm using fragment tab. normal

The app is running normally even when using FragmentContainerView. So, anyone can help me why the design tab is not showing when using FragmentContainerView even the code is running normally? I have try restarting the ide but its not working. Tq in advance.

0 Answers
Related