[android-developers] Re: Layout Animation Issue

2009-11-24 Thread skink


On Nov 24, 7:07 pm, skink  wrote:
> i managed to disable some children from being animated by creating
> custom layout animation controller and overriding its getDelayForView
> so that it returns 0 for Views to be not animated and orherwise
> returns super.getDelayForView
>

uppps,

no, it doesn't work - i mean returning 0 in getDelayForView method...

unfortunately getAnimationForView is final so i cannot override it

so, how to extend layout animation controller so that it meets my
needs?

thanks,
pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Layout Animation Issue

2009-11-24 Thread skink


On Nov 24, 5:45 pm, skink
> as i'm using some std Views like Button, the firtst option (custom
> layout animation controller) would be the best solution
>
> pskink

i managed to disable some children from being animated by creating
custom layout animation controller and overriding its getDelayForView
so that it returns 0 for Views to be not animated and orherwise
returns super.getDelayForView

however i couldn't find in the docs that returning 0 disables
animation

is my solution safe?

thanks
pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en


[android-developers] Re: Layout Animation Issue

2009-11-24 Thread skink


On Nov 24, 5:25 pm, Romain Guy  wrote:
> Hi,
>
> You could write a custom layout animation controller to achieve this.
> You could also create custom views that would return null when
> getAnimation() is called. Otherwise, no, this is not supported.
>

thanks Romain,

as i'm using some std Views like Button, the firtst option (custom
layout animation controller) would be the best solution

pskink

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en