Re: [android-developers] Animate to new position - impossible?

2010-11-26 Thread Jason Van Anden
Got it - but ... Its not obvious what the: something to adjust your layout to cause your View to stick in the new spot. is. I am already using the AnimationListener to trigger post animation code - but I am stuck on how to make this actually happen. It would be great to have a snippet that

Re: [android-developers] Animate to new position - impossible?

2010-11-26 Thread Mark Murphy
Well, it is highly dependent on your layout. Here is an example: https://github.com/commonsguy/cw-advandroid/tree/master/Animation/SlidingPanel/ On Fri, Nov 26, 2010 at 3:31 PM, Jason Van Anden jason.van.an...@gmail.com wrote: Got it - but ... Its not obvious what the: something to adjust

[android-developers] Animate to new position - impossible?

2010-11-24 Thread Jason Van Anden
I am trying to roll my own sliding drawer that can be opened 5%, 25% and 100%. When I animate my view to the new position, the animation moves, but when the animation is finished the view jumps back to its original location. Is it possible to animate a view to a new position or am I attempting

Re: [android-developers] Animate to new position - impossible?

2010-11-24 Thread Mark Murphy
On Wed, Nov 24, 2010 at 3:52 PM, Jason Van Anden jason.van.an...@gmail.com wrote: I am trying to roll my own sliding drawer that can be opened 5%, 25% and 100%. When I animate my view to the new position, the animation moves, but when the animation is finished the view jumps back to its