On Tue, Jan 22, 2013 at 11:46 PM, Ansh yourans...@gmail.com wrote:
- Do not use TranslateAnimation, but instead switch to the newer
ViewPropertyAnimator framework (and NineOldAndroids for a backport),
I can't use ViewPropertyAnimator framework because i need to support
for below 3.0
If you choose Mark's second solution, be sure to move the view *before* the
animation. If you don't you'll get a flash at the end of the animation,
when you move the view.
-blake
--
You received this message because you are subscribed to the Google
Groups Android Developers group.
To post
Hi Blake / Mark,
I chose Mark's second option and yes i got the flash effect at the end.But
as you say that move the view before animation , but I am calculating the
views position at the end of animation and moving the layout.If i move the
view before animation how would i suppose to find the
*Ok Blake , i have done the same way you described.I have moved the layout
before animation starts and it moved towards up but now when the animations
starts on the layout it ll start animating from the new position which i
set before starting the animation for the layout.*
*
*
*Any better
Hi guys , i am facing a weird problem.I have a layout and there is a
button inside that layout.On clicking of the button i need to translate
that layout towards up say for example 30%.I am able to achieve this but
when animation ends i loose click event on the button which a very weird
and
This is expected behavior. Either:
- Do not use TranslateAnimation, but instead switch to the newer
ViewPropertyAnimator framework (and NineOldAndroids for a backport),
or
- Do not bother with setFillAfter(true), but instead attach an
AnimationListener that will adjust the layout so the widget
Thanks for your comment Mark.
- Do not use TranslateAnimation, but instead switch to the newer
ViewPropertyAnimator framework (and NineOldAndroids for a backport),
* I can't use ViewPropertyAnimator framework because i need to
support for below 3.0 API level.*
- Do
7 matches
Mail list logo