title: animation pushed up when keyboard is visible
body: <p>I have an animation in which my image goes from bottom of the screen to the top of the screen in 1 min and starts when the activity starts as follows</p>
  
  <pre><code>@Override
      public void onWindowFocusChanged(boolean hasFocus){
  
          image.getLocationOnScreen(diverSrcLoc); //bottom
          View destLine = (View) findViewById(R.id.diverDest); //top
          destLine.getLocationOnScreen(diverDestLoc);
          destLoc[0] = srcLoc[0]; 
  
          TranslateAnimation translate = new TranslateAnimation(0, destLoc[0]-srcLoc[0], 0, destLoc[1]-srcLoc[1]);            
          translate.setFillAfter(true);
          translate.setDuration(Constants.MAX_TIME);
  
  
          image.startAnimation(translate);
      }
  </code></pre>
  
  <p>and the manifest:</p>
  
  <pre><code>&lt;activity
      android:name="com.xxx.MainActivity"
      android:label="@string/app_name"
      android:windowSoftInputMode="adjustResize|stateVisible" &gt;
      &lt;intent-filter&gt;
          &lt;action android:name="android.intent.action.MAIN" /&gt;
  
          &lt;category android:name="android.intent.category.LAUNCHER" /&gt;
      &lt;/intent-filter&gt;
  &lt;/activity&gt;
  </code></pre>
  
  <p>The problem is that when the activity starts and keyboard pops up, the animation keeps going up beyond the screen(keyboard pushing animation up). I thought the adjustReize will do it but tough luck. When you close the keyboard the animation come back to its normal path. Pop up the keyboard again and the image being animated is pushed up again. </p>
  
  <p>Is there a way to solve it ?shouldn't the dest location not change with keyboard?</p>