Re: [android-developers] Re: How to control the rotation

2011-10-12 Thread Subin Sebastian
Hi Perry, You can use Android animation for the same. Add the following code into a file in res/anim, say rotation.xml http://schemas.android.com/apk/res/android"; android:fromDegrees="0" -- you can change these android:toDegrees="360"-- values as required android:toYScale="0.0" --no

[android-developers] Re: How to control the rotation

2011-10-12 Thread lbendlin
why do you redraw the image every time? draw it once, and then rotate it through the matrix. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this

[android-developers] Re: How to control the rotation

2011-10-12 Thread Perry168
hi all, I found that even I changed the PNG to a square, it not rotate at a point too. It may cause from matrix.setRotate. But I don't know how to do it. help pls. -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send