title: How to fix view position after moving it
body: <p>With the code below, the <code>TextView</code> variable <code>tvAppName</code> slides up successfully, but after 1,200 milliseconds the view goes back to its position. How can I fix the view after moving it?        </p>
  
  <pre><code>        Handler hd = new Handler();
          hd.postDelayed(new Runnable() {
              @Override
              public void run() {
  
                  TranslateAnimation anim = new TranslateAnimation(0, 0, 100, 0);
                  anim.setDuration(500);
                  anim.setAnimationListener(new Animation.AnimationListener() {
                      @Override
                      public void onAnimationStart(Animation animation) {
  
                      }
                      @Override
                      public void onAnimationEnd(Animation animation) {
  
                      }
                      @Override
                      public void onAnimationRepeat(Animation animation) {
  
                      }
                  });
                  tvAppName.startAnimation(anim);
              }
          }, 1200);
      }
  </code></pre>