views:

232

answers:

0

Hi,

I have a view that i need to rotate to fit the screen orientation.

As i can't set the orientation directly onto the view, i need to to the transform myself.

However i don't know how to calculate the angle rotation according to current view and old view.

Any help would be appreciated

Thanks