I am trying to apply two different rotations to a view, let's say for example :
1 : 20° pivotX = width/2 pivotY= height/2
2 : 90° pivotX = 0 pivotY= 0
However View.setPivotX()
& View.setPivotY()
both seem to only change the values in an unique matrix, so when I change the pivots, it reapply the first rotation with that new pivot, which is not what I want to do.
Is there a way to handle these two rotations in a totally independent way ?