I'm trying to convert old code which was using nineoldandroids animations to the new SetLayoutAnimated function.
Nineoldandroids could zoom in and out around a certain point on the screen using setPivotX and setPivotY.
This isn't supported by SetLayoutAnimated - only left/top/width/height can be used - so I think I'll be needing transformation matrices.
I've already lost several hours trying to get the maths right... has anyone done this before?
Nineoldandroids could zoom in and out around a certain point on the screen using setPivotX and setPivotY.
This isn't supported by SetLayoutAnimated - only left/top/width/height can be used - so I think I'll be needing transformation matrices.
I've already lost several hours trying to get the maths right... has anyone done this before?