android - What is the difference between ViewPropertyAnimator's translateYBy() vs yBy() methods? -


View-property animators () have two types of methods for transferring views:

TranslateX () vs. x (), translate y (), y (), translate xbin () versus xbin () and finally translate YBy () vs yBy ()

Can you tell the difference between the methods?

The answer given above is not correct.

The document states that X and y properties are full positions, while translationX and translationY Are referred to LEFT and TOP assets respectively.

Then, animated (). Difference between X () and Animate () ) is that it is animated for a full price, while the other animated is still at full price, but is set based on LEFT and TOP values .

On the contrary, Chetan (). XBy () and Animate (). Translation XBy () Increase in property value from specified amount (algebraic).

This is the quote of "some math" above.


Comments

Popular posts from this blog

import - Python ImportError: No module named wmi -

Editing Python Class in Shell and SQLAlchemy -

c# - MySQL Parameterized Select Query joining tables issue -