title: How to move image up and down from a fixed location, rather than starting from the bottom?
body: <p>The code I am currently using: </p>
  
  <pre><code>    TranslateAnimation mAnimation = new TranslateAnimation(
              TranslateAnimation.ABSOLUTE, 0f,
              TranslateAnimation.ABSOLUTE, 0f,
              TranslateAnimation.RELATIVE_TO_PARENT, 0f,
              TranslateAnimation.RELATIVE_TO_PARENT, 1.0f);
      mAnimation.setDuration(2000);
      mAnimation.setRepeatCount(-1);
      mAnimation.setRepeatMode(Animation.REVERSE);
      mAnimation.setInterpolator(new LinearInterpolator());
      imageView.setAnimation(mAnimation);
  </code></pre>
  
  <p>Here is the <a href="https://drive.google.com/file/d/0B1hArV-ExodqcVFPaVg2U0ZNNmc/view?usp=sharing" rel="nofollow noreferrer">result.</a> (ignore the image quality, I will change it).</p>
  
  <p>I had placed the image in the horizontal center, vertically in line with the floating action button. I want it to start from there.</p>
  
  <p>Also, optionally, I created a fade in-fade out <code>AlphaAnimation</code>. How do I synchronize them both? </p>
  
  <p><strong>Code for AlphaAnimation:</strong></p>
  
  <pre><code>AlphaAnimation blinkAnimation = new AlphaAnimation(1, 0); // Change alpha from fully visible to invisible
      blinkAnimation.setDuration(1000); // duration - half a second
      blinkAnimation.setInterpolator(new LinearInterpolator()); // do not alter animation rate
      blinkAnimation.setRepeatCount(5000); // Repeat animation infinitely
      blinkAnimation.setRepeatMode(Animation.REVERSE);
  </code></pre>