ObjectAnimator做屬性動畫的時候,并不會改變view的left,top,right,bottom值,它改變的只是translationX和translationY的值,這些參數(shù)值的關(guān)系是 x = left + translationX , y = top + translationY。在平移過程中,只會改變x 和translationX ,y和translatioinY的值。其中x和y是View左上角的坐標(biāo)。以上...
www.dbjr.com.cn/article/965...htm 2025-6-8