void AnimateNoteClosed( ) { // update the max allowed X CurrMaxAllowedX = MaxAllowedX_Closed; AnimateNoteIcon(false); AnimateUtilityView(false); // close the text field TextView.AnimateClosed( ); TextView.ResignFirstResponder( ); }