Example #1
0
  public void runExitAnimation(ObjectAnimator backgroundAnimator) {

    mGifView.setVisibility(View.GONE);
    mPhotoView.setVisibility(View.VISIBLE);
    //        setBitmapToPhotoView();
    //        AnimationRect rect = getArguments().getParcelable("rect");

    AnimationRect.runExitAnimation(mPhotoView, mRect, backgroundAnimator);
  }
Example #2
0
  private void runEnterAnimation() {

    mPhotoView.setVisibility(View.VISIBLE);
    mGifView.setVisibility(View.GONE);
    AnimationRect.runEnterAnimation(mPhotoView, mRect, mGifView);
  }