NineOldAndroids: set view pivot

后端 未结 2 547
心在旅途
心在旅途 2021-02-02 16:01

I\'m using the wonderful framework NineOldAndroids, but I can\'t find anything to set the pivot on my animated views. Specifically, I\'m trying to do a scaleX +

2条回答
  •  没有蜡笔的小新
    2021-02-02 16:21

    AnimatorProxy.wrap(...) didn't have any effect in my case. However, the following line did the trick:

    ViewHelper.setPivotY(myView, 0)
    

提交回复
热议问题