public ScaleAnimation getScaleHeightAnimation(float start, float end) {
   ScaleAnimation animation = new ScaleAnimation(1.0f, 1.0f, start, end);
   animation.setDuration(1000);
   animation.setFillAfter(true);
   animation.setFillEnabled(true);
   animation.setFillBefore(true);
   return animation;
 }