[android-developers] RotationAnimation

2013-08-16 Thread Boyd Speer
Should have added in previous post of same topic: float rot = Float.parseFloat(degrees.getText().toString()); RotateAnimation myanim = new RotateAnimation (0,rot,Animation.RELATIVE_TO_SELF,0.5f,Animation.RELATIVE_TO_SELF,0.5f,); (This also does not work) -- You received this message because y

[android-developers] RotationAnimation creation in code with toDegrees as local variable? Is there a way?

2013-08-16 Thread Boyd Speer
I would like to get user input with EditText (type is signed number) and (onButtonClick) use that char sequence as the "toDegrees" attribute of a RotationAnimation to rotate a compass ring to the number of degrees that the user entered. I can create the animation with a number and the rotation w

[android-developers] rotationAnimation w/ setFillAfter(true) and OnTouchListener help!

2011-09-27 Thread Mind
Hi All, I have a ViewGroup containing a 3x3 grid of tiles (custom Views) with symbols on the views. I wish to rotate the 3x3 grid of tiles while maintaining the symbol's visual alignment. I use View.OnTouchListener and override onTouch() to get player input on the tiles. Easy. Each tile gets a