As Philipp Reichart commented:
android.R.id.content
gives you the root element of a view, without having to know its actual name/type/ID. Check out Get root view from current activity
In case anyone need, you can get this view with View Binding by using binding.root