public void RemoveMsg(AppMsg appMsg)
{
ClearMsg(appMsg);
View view = appMsg.View;
ViewGroup parent = (ViewGroup)view.Parent;
if (parent != null)
{
appMsg.mOutAnimation.SetAnimationListener(new OutAnimationListener(appMsg));
view.ClearAnimation();
view.StartAnimation(appMsg.mOutAnimation);
}
Message msg = ObtainMessage(MESSAGE_DISPLAY);
SendMessage(msg);
}