In Sencha touch, Message box has two properties: showAnimation and hideAnimation, showAnimation property will show the message box with animation you define and hideAnimation property will hide the mesaage box with animation you define.

Example

First drag-n-drop a panel to the canvas and add a titlebar to the panel with two buttons one for slide animation and second for fade animation. Add tap events to the buttons.