Code example for ViewTreeObserver

Methods: addOnGlobalLayoutListener, isAlive