Skip to content
This repository has been archived by the owner. It is now read-only.

Transition bug? #31

Closed
Andreoid82 opened this issue Sep 21, 2012 · 2 comments
Closed

Transition bug? #31

Andreoid82 opened this issue Sep 21, 2012 · 2 comments

Comments

@Andreoid82
Copy link

@Andreoid82 Andreoid82 commented Sep 21, 2012

Hi Mr Wharton,
i'm trying to do a simple transitionY animation:
I have a RelativeLayout and i move it up and down just pressing a button.
The animation works great but i think that the response of the button stay in the original position.
It seems that the animation move only the graphics and the button touch area stay in the original position and not in the "new" position.

What's wrong?

Thank you very much!
Andrea

@JakeWharton
Copy link
Owner

@JakeWharton JakeWharton commented Sep 21, 2012

This is simply a fundamental limitation of animating touchable views on pre-Honeycomb. There is no workaround for the animation portion. I recommend that when your animation completes, you modify the LayoutParams of the view that you are animating to actually move it to its destination position.

@nobre84
Copy link

@nobre84 nobre84 commented Feb 7, 2013

This is very unfortunate! What is sad is that its not mentioned on the project home page - at least I didn't find it. Even being aware of the limitations of Animations pre-honeycomb, it seemed these limitations were handled and abstracted away by the library! Unfortunately I'll still need to do conditional code to update view positions
The library is great, a life saver! But this one really hurt :(

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
3 participants
You can’t perform that action at this time.