Ah replacing the content view with the fragment works. You just have to know that it has the id android.R.id.content 🧐
@ConnyDuck is that documented somewhere? We have some activities that just contain fragments I think
@ConnyDuck oh right, I think you blocked Fosstodon. Talking to myself...
Fosstodon is an English speaking Mastodon instance that is open to anyone who is interested in technology; particularly free & open source software.