code: private void setUpAnimations() {
          slideUp = AnimationUtils.loadAnimation(this,
                  R.anim.slide_up);
          slideDown = AnimationUtils.loadAnimation(this,
                  R.anim.slide_down);
      }
docs: Initializes the animations used in this activity.