@SuppressWarnings("deprecation") public void onClickButtonCancel(View v) { isAccept = false; mNextBtnLayout.setSoundEffectsEnabled(false); mFadeOutAnime = AnimationUtils.loadAnimation(this, R.anim.welcome_intro_fade_out); if (mFadeOutAnime != null) { mBottomLayout.startAnimation(mFadeOutAnime); } mBottomLayout.setBackgroundDrawable(null); if (mFadeOutAnime != null) { mFadeOutAnime.setAnimationListener(fadeOutAniListener); } }
@Override public void run() { isAccept = false; mNextBtnLayout.setSoundEffectsEnabled(true); }