eburke wrote: > Let's say I have some views stacked inside a LinearLayout: > > [LinearLayout vertical] > [ListView weight=1 so it fills the space] > [EditText] > [SomeRowOfButtons] > > I want the "SomeRowOfButtons" to be hidden initially. When the > EditText gets focus I want to animate SomeRowOfButtons in, and when > EditText loses focus, animate SomeRowOfButtons out. > > I've tried translations, ViewSwitchers, etc., but the issue with those > is that it carves out space for the row and never expands the rest of > the parent LinearLayout to fill the space. If there were a way I > could tell the parent to lay out as the animation changes, that might > work. Is there some sort of "animation value changed" listener I > could apply? >
the only thing i could think of is to create custom animation: MyAnim extends Animation and implement abstract applyTransformation() - its first param is time in range <0..1> pskink -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

