Skip to content

Instantly share code, notes, and snippets.

@hitherejoe
Created November 17, 2015 08:36
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save hitherejoe/0d5097fb4fe6df21ca8b to your computer and use it in GitHub Desktop.
Save hitherejoe/0d5097fb4fe6df21ca8b to your computer and use it in GitHub Desktop.
mButton.animate()
.alpha(1f)
.scaleX(1f)
.scaleY(1f)
.translationZ(10f)
.setInterpolator(new FastOutSlowInInterpolator())
.setStartDelay(200)
.setListener(new Animator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animation) { }
@Override
public void onAnimationEnd(Animator animation) { }
@Override
public void onAnimationCancel(Animator animation) { }
@Override
public void onAnimationRepeat(Animator animation) { }
})
.start();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment