title: ImageView animate
body: <p>I have a problem with an animation. I wrote this code, but nothing happens.</p>
  
  <pre><code>public void animate(View v){
      ImageView img = (ImageView) findViewByid(R.id.imageview);
      img.animate().translationYBy(-1000f).setDuration(300);
  }
  </code></pre>
  
  <p>I am using Android Studio 2.2.2</p>