Questions tagged [translate-animation]

To translate means to change the position of an object so that it gets moved from one place to another in the world (e.g. a person walking on a sidewalk). Translation is not to be confused with rotation, which is about changing the direction an object is "facing" in the world.

407 questions
0
votes
1 answer

Android - MapView TranslationAnimation causes rendering faults

I have an EditText over a MapView. Now When the text was edited I want that the map view goes over the EditText element (via TranslateAnimation). The transaltion of the map view works but it seems that the map view is not designed to be translated…
Tobi Weißhaar
  • 1,617
  • 6
  • 26
  • 35
0
votes
1 answer

Having touchevents work on 2.3 using ObjectAnimator

so first let me give you some context into what I'm trying to do and what I have tried :) I have up to ten views that I need to move from right to left constantly. Once one view leaves the screen another one comes in from the right. All the views…
user785235
  • 23
  • 1
  • 5
0
votes
1 answer

What is the Android equivalent of Graphics g.translate(xPos,yPos); ?

The background of my game is going to be scrolling. Instead of making it scroll by moving all the objects in relation to my main character, I want to just move the camera to follow him. I could do that with g.translate(x,y) in java but what is…
Karl Floersch
  • 327
  • 4
  • 15
0
votes
1 answer

Android: Count interval of MotionEvent.ACTION_MOVE?

I want my Views to move horizontally in tandem with our finger moving. Please imagine something like iOS home menu or Photos (the pre-installed galley app); if you slide your forefinger, the stuff on the screen also slide. I couldn't find the same…
Quv
  • 2,958
  • 4
  • 33
  • 51
-1
votes
1 answer

How add point when my ball touch basket? how to determine the touch of the ball and basket?

how can I detect the touch of the ball and basket and add a point to the score? I have a ball and basket. the basket moves on the x-axis. Ball - y-axis when pressed Please, help me override fun onCreate(savedInstanceState: Bundle?) { …
-1
votes
1 answer

moving a View from Random x and y positions to specific X and Y positions with animations

I hava a imageview. I put on specific position(specific x and y) on my constraint layout. I want to move(fly with animation) this imageview from random x y positions(for example out of screen) to specific positions that i put before on constraint…
-1
votes
1 answer

How can I link button onclick to slide to the next panel horizontally

Right now my webpage has vertical snap to scroll to each of the three 100vh sections. In the second section, I have 3 100vw divs lined up horizontally with { overflow-x: scroll }. So I went ahead and try to link the my button that would help…
Brandon
  • 377
  • 3
  • 11
-1
votes
1 answer

How to move all paths in an SVG to the same point

I want to animate a website logo with CSS. My logo looks similar to: A B C. Now it's an SVG with 3 paths in it, like this:
chimos
  • 664
  • 2
  • 14
  • 34
-1
votes
1 answer

Input Boxes translateX

I have two input boxes, one for Search and another for an email newsletter signup, in a slideout menu. These are meant to slide out from the right when the menu is opened, along with the rest of the menu items. I added the following css code to the…
Jacqui
  • 79
  • 2
  • 10
-1
votes
1 answer

Button translation & scale animation with two different title

I need to animate a button using translation and scale animation.I am using this code.Button title is "ADD MUSIC" [UIView animateWithDuration:3 animations:^{ waterMarkButton.transform = CGAffineTransformMakeScale(-1, 1); }]; It is transform…
Saad
  • 235
  • 2
  • 12
-1
votes
1 answer

CSS - rotate cube percentage base

I try to make a 3d rotate cube animation. I have some difficulties to make it works because I want to use percent value for front/back face. I can't control translate position with percentage value in my case. Is there any workaround to make it…
freaky
  • 990
  • 3
  • 17
  • 44
-1
votes
2 answers

Animation Translate using LayoutParams

Basically i want to create translate animation but for some reason i cannot use TranslateAnimation class. Anyway this is my code main.xml
user3135962
  • 57
  • 1
  • 8
-1
votes
3 answers

Android moving Image view to center of the screen

I have one button and one image view at the bottom of my screen . when the button is clicked i want to move the image view to center of my screen. i'm trying with the following code . i'm not getting correctly. please help me. my.java file …
Balaji
  • 718
  • 7
  • 12
-2
votes
1 answer

Hover on component inside a div that has a transform: translate3d effect on hover / Vue.js queue events(?)

I have a modal component inside a div that has a transform: translate3d effect (with transition!) on hover. That div is rendered with vue.js list rendering method. When I open my modal and hover over it, it is snapping in turns to parent div and…
-2
votes
1 answer

Animation doesn't work when attached to the parent (RelativeLayout)layout?

I tried to animate the button from top to a fixed position on the screen, it worked, when clicklistener was added on the button, but it doesn't get worked while attached to the relativelayout. So that the button including relativelayout get…
Manoj Perumarath
  • 9,337
  • 8
  • 56
  • 77
1 2 3
27
28