setVisibility(View.GONE)方法失效

471 阅读1分钟

上网查找资料,原因是设置了animation动画并调用了setFillAfter(true)方法。


解决办法:clearAnimation();