Questions tagged [rotateanimation]

An animation that controls the rotation of an object. This rotation takes place in the X-Y plane.

103 questions
68
votes
6 answers

Why doesn't setVisibility work after a view is animated?

Why doesn't the textView become invisible? Here is my layout xml:
ZippyFerguson
  • 889
  • 1
  • 7
  • 8
10
votes
2 answers

How to remove lag when Rotate Animation repeats on Android?

I have built a RotateAnimation in an XML, load it with AnimationUtils and set it to an ImageView. The problem I face is that, when the image is back to its initial position after one round, instead of proceeding straight to the next round, there is…
Dimitris Makris
  • 5,183
  • 2
  • 34
  • 54
10
votes
1 answer

Android:Translation and Rotation Animation simultaneously

I want to show two animation simultaneously programatically not in XML file.It should ROTATE and TRANSLATE how can I do that? Please suggest me some way?????? Here is ma code:> ImageView snowImg1 = (ImageView) findViewById(R.id.snowimg1); …
7
votes
3 answers

Error setBackground View after animation

I create a CustomView extends View. Create some CustomView and using animation to move and rotate them. After change backgroundResource and error happened, new background not fill all CustomView. Please see code: clearAnimation(); …
BaDo
  • 540
  • 8
  • 19
6
votes
2 answers

android what should be pivot point to rotate image around its center of base

Please read the whole question carefully before marking duplicate or closing it I want to rotate a image(specifically arrow image) around its center point of base. e.g. At start my image will be like second hand in a clock on 9. And suppose if I…
Shirish Herwade
  • 11,461
  • 20
  • 72
  • 111
5
votes
2 answers

How to make rotation continuously in windows phone 8?

I use this code for rotation void rotate() { Duration Time_duration = new Duration(TimeSpan.FromSeconds(20)); Storyboard MyStory = new Storyboard(); MyStory.Duration = Time_duration; DoubleAnimation My_Double = new…
selvam
  • 1,177
  • 4
  • 18
  • 40
4
votes
3 answers

Rotate ImageView in Android around a fixed point using RotateAnimation

I'd like to rotate an image 360 degrees continuously around a fixed point. I've seen a few examples already such as: RotateAnimation anim = new RotateAnimation(0, 360,150,150); anim.setInterpolator(new…
mmmbaileys
  • 1,233
  • 4
  • 18
  • 33
4
votes
2 answers

jquery rotate max count

I have read through countless SO posts and have made numerous attempts, but a whole afternoon later I am still stuck. My code, combined with the jquery plugin that I am using can be seen here at this jsfiddle What am I trying to do? For this project…
Paul Fitzgerald
  • 11,770
  • 4
  • 42
  • 54
4
votes
2 answers

CSS3 rotate3d animation repeating

I have this animation: div { width: 100px; height: 100px; margin: 50px 0 0 50px; background: maroon; animation: spinner 1s infinite linear; perspective: 500px; transform-style: preserve-3d; } @keyframes spinner { 0%…
Jon
  • 3,173
  • 3
  • 39
  • 66
4
votes
4 answers

Javascript rotation animation

I am stuck at a point.There are 10 straight lines(png image).What I want is after the first line rotates by 40 deg,then the second line should start its rotaion and then the third,fourth,fifth and so on!!! code:
user2412575
3
votes
0 answers

Android RotateAnimation - rotate arrow back and forth

In my application, I am rotating a clock hand to the desired amount of minutes. This works good with RotateAnimation. Now what I want to do is to return the hand back to the starting position (0 minutes). For example: I first rotate the hand like…
Daniel Novak
  • 2,746
  • 3
  • 28
  • 37
3
votes
1 answer

spherical animation with text for using tag cloud in android app [News Republic]

I want to create spherical animation in my android app similar to this in News Republic app. I have tried to create a sphere so far but can anyone guide me how to proceed to develop animations like this in android. Do we have to use opengl only or…
Amrut Bidri
  • 6,276
  • 6
  • 38
  • 80
3
votes
2 answers

How to reduce the speed of RotateAnimation in Android

How can I reduce the rotation speed of RotateAnimation instance. I'm using following code snippet to do animation. rotateAnimation = new RotateAnimation(currentRotation, currentRotation + (360 * 5), Animation.RELATIVE_TO_SELF, 0.5f,…
3
votes
3 answers

Rotate logo 360 degree through y-axis

i was testing out a logo rotation on the y-axis and i came with the following: http://jsfiddle.net/MEmnc/ .container { width: 62px; height: 91px; position: relative; perspective: 400px; } #card { width: 100%; height: 100%; position:…
mit drissia
  • 31
  • 1
  • 1
  • 3
3
votes
1 answer

IE8:Image disappearing while rotating using jQuery Rotate

We had an image, which seems to be vanishing for a second while rotating.This issue exists in IE8 and works fine in IE9 and other HTML5 supported browsers. We have used jQuery rotate plugin. HTML CSS #obj { …
Ronny K Roy
  • 273
  • 2
  • 9
1
2 3 4 5 6 7