Example #1
0
  @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);
    }
  }
Example #2
0
 @Override
 public void run() {
   isAccept = false;
   mNextBtnLayout.setSoundEffectsEnabled(true);
 }