如果要设置Visibility的view执行过Animation并且这个view没有移除animation. 则首先要调用view.clearAnimation()清除动作后,setvisibility()才会生效