What method should I call to know if an Activity has its contentView (once the method setContentView() has been called)?
Kotlin
this.findViewById(android.R.id.content) .rootView .setBackgroundColor(ContextCompat.getColor(this, R.color.black))