What method should I call to know if an Activity has its contentView (once the method setContentView() has been called)?
You may want to try View.getRootView().
View.getRootView()