java - Android ObjectAnimator fill after option? -
in android application using objectanimator translate imageview so:
objectanimator transitionx = objectanimator.offloat(v, "translationy", 190);
is there alternative fillafter reset position of view new position, after animation complete?
nope, i'd utilize property animation scheme instead, assuming v view:
v.animate().translationy(190).withendaction(new runnable() { @override public void run() { v.settranslationy(v.gettranslationy()-190); } }).start();
java android animation
No comments:
Post a Comment