@Override
            public void run() {

                mObservableScrollView.setVisibility(View.GONE);

                if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP)
                    MovieDetailActivity.this.finishAfterTransition();

                else {


                    GUIUtils.hideViewByScaleY(mConfirmationContainer, new AnimatorAdapter() {
                        @Override
                        public void onAnimationEnd(Animator animation) {

                            super.onAnimationEnd(animation);
                            MovieDetailActivity.this.finish();
                        }
                    });

                }

            }
Starts an animation provided by a <animation-drawable> on Lollipop &
higher versions, in lower versions a simple set with a scale and a rotate
animation is shown
HackVG/app/src/main/java/com/hackvg/android/views/activities/MovieDetailActivity.java