最新回答 / DS_AGS
有代碼比較工具,比如meld,compare,用工具讓兩個文件比較一下!不要看了幾遍!有些時候就是一個很微小的差距都會導致結果差好多的!但是眼睛是不可能看的那么細的!實在不行把代碼貼出來!
2016-04-19
(float) (Math.sin(Math.toRadians((i - 1) * 90 / (6 - 1))) * 200)
6是要展開的圖標數,200是半徑
按照上面程序加入translationX,和translationY中可以以扇形展開。
6是要展開的圖標數,200是半徑
按照上面程序加入translationX,和translationY中可以以扇形展開。
2016-04-12
聽這個老師的課簡直就是一種享受,不僅講得好,而且有一種越學越帶勁的感覺,我已經學了4,5門他的課,真的贊,我看好你老徐?。?!
2016-03-25
比如調用ObjectAnimator.ofFloat(view,”rotationX“,0,90),傳入rotationX就會不斷調用view的
setrotationX方法,依次類推,ObjectAnimator的本質就是這樣。
setrotationX方法,依次類推,ObjectAnimator的本質就是這樣。
2016-03-05
關于propertyName,文檔是這樣描述的:
Sets the name of the property that will be animated. This name is used to derive
a setter function that will be called to set animated values.
For example, a property name of foo will result
in a call to the function setFoo() on the target object.
Sets the name of the property that will be animated. This name is used to derive
a setter function that will be called to set animated values.
For example, a property name of foo will result
in a call to the function setFoo() on the target object.
2016-03-05