Invisibility and GONE doesnt work after animation in android
问题 i use this code to when i click on a imagebox, run an animation on another object and dissaper itself via visibility.GONE. but it doesnt work!! here is my code: againbtn.setOnClickListener(new OnClickListener() { @Override public void onClick(View v) { //answer button on animation Animation anim2 = AnimationUtils.loadAnimation(MainActivity.this, R.anim.askbtnonanim); anim2.setFillAfter(true); askbtn.startAnimation(anim2); //gone myselft (againbtn) againbtn.setVisibility(View.GONE); } }); if a