Questions tagged [rotateanimation]

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

103 questions
0
votes
1 answer

Rotate one Image on Center of another Image using javascript or jQuery

Hello I am lilbit new to Javascript and Jquery. i want to move earth(image) around sun(image) but i dont want to use any jQuery-plugin. I have tried few Option but it is not working. So If there is anyway(i guess it is) then plz answer. Thanks in…
Kiranaditya
  • 449
  • 1
  • 5
  • 15
0
votes
1 answer

multiple RotationAnimations (time shifted) using false angles

i am trying a quite simple animation. rotate a view to the left for 18°, then rotate it to the right for 180°(relative) (+162°absolute) and then back to normal 0°(absolute) (-162°relative)... int first = -18; int second = first +180; int…
A. Binzxxxxxx
  • 2,812
  • 1
  • 21
  • 33
0
votes
1 answer

Rotation animation to a button and set onclicklistener

I've created a RelativeLayout that contain 4 buttons positioned like a circle. I've given rotate animation to the layout, also OnClickListeners on these buttons. But when i run the code the OnClickListener works only from the button's initial…
0
votes
0 answers

Android Gestures: Translated and Rotated View returns to the original position when touch another View

i am using a project from codepanda "gestureimageview" succesfully, and i've got to move and rotate any View, but, when i touch another View, whatever, my rotated View is returned to the original position and with no rotation. In some cases i've got…
0
votes
2 answers

Android rotate xml without any resizing

I have an activity and this is its layout
Sedat KURT
  • 478
  • 4
  • 9
  • 20
0
votes
1 answer

AS3 - Tools that drag and rotate in flash TOOL MODE

I'm making an app/program that allows you to design your own piece of art with two basic functions by clicking the buttons on the UI, We'll call the 'Modes' for now. Tweezer mode: you can drag the selected set of objects about in this mode. Rotate…
0
votes
1 answer

Programming in vpython, vpython doesb't react at code

I want to make a program that shows the da vinci tower in vpython and I think I got the right code to rotate the floors each in a sequence like in the da vinci tower. But vpython doesn't respond. What I'm I doing wrong? Can someone please help? from…
0
votes
2 answers

Rotate imageview stuck

I want to create a simple image which rotates 20 degrees (like clock) and 20 degrees back. I have this simple layout:
smotru
  • 433
  • 2
  • 8
  • 24
0
votes
1 answer

How do I get an imageview animation (repeat infinty, duration unchangeable) to run for a fixed amount of time?

I have a RotateAnimation running on an imageview object. This animation makes the object rotate at the rate of (myAnimation.setDuration(x)) per rotation. I have quite a few of the objects and animations rotating at different rates, all objects set…
Werner
  • 769
  • 2
  • 6
  • 19
0
votes
1 answer

How to rotate the Ellipse and border based on dragging border?

Please find the attached Image for my requirement.when drag the arc(Border) the arc and wheel rotate through mouse position.can you please help me? if rotate the arc and wheel in button click it working.But i want rotate this in Draging the…
Ravuthasamy
  • 589
  • 1
  • 6
  • 16
0
votes
1 answer

Rotate Animation of an ImageView

I have a camera application. Whenever the device orientation is changed from portrait to landscape and vice versa, I would like to animate the ImageView to his side. Here's my code, the animation is done only on the first set, If the event of the…
idish
  • 3,190
  • 12
  • 53
  • 85
0
votes
0 answers

Change time and degrees of RotateAnimation in Android

If I create a RotateAnimation based on certain duration and degree parameters, but I want to call the same animation with different duration and degree parameters, how do I do that? RotateAnimation animation = new RotateAnimation(fromDegrees,…
Adam Johns
  • 35,397
  • 25
  • 123
  • 176
0
votes
1 answer

android action bar sherlock. lable/text of icon disappears while animating

i am trying to show a refresh animation in my action bar sherlock. the animation works just fine (rotating the refresh icon) and does what it is supposed to. The only problem is the text/label for the button disappears although there is enough space…
0
votes
1 answer

can still see imageview even when invisible during rotation

I don't understand why this is happening. I set imageview so that it is invisible. Then rotate it. However I can see the imageview flicker on and off the screen. How come setvisibility isn't working immediately? img = (ImageView)…
Jake
  • 2,877
  • 8
  • 43
  • 62
0
votes
0 answers

CSS3 rotation not perfectly centered in Chrome

Getting some strange cross browser CSS3 behaviour when rotating an image. On this page http://www.coral.co.uk/sports-betting-50 the bottom 1-2-3 circle images have a shiny ring over them, which is rotated via jquery manipulating CSS, when you hover…