I\'m using Android Studio 4.1.1 and working with fragments.
I used this snippet to add a Fragment to a blank container in an Activity
Fragment
Activity
<