android:使用Animation后,setVisibility(View.GONE)无效的问题 解决方案: findViewById(R.id.loading).clearAnimation(); findViewById(R.id.loading).setVisibility(GONE);