Implemented postOnAnimation and postOnAnimationDelayed for ShadowView.