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

后端 未结 4 1418
甜味超标
甜味超标 2021-02-03 19:58

ViewPropertyAnimators (http://developer.android.com/reference/android/view/ViewPropertyAnimator.html) have two types of methods to move Views around:

translateX() vs x(

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-03 20:40

    A visualization of translationY(), y(), yBy(), translationYBy() methods are bellow

提交回复
热议问题