Well I tried with a standard animation like: LayoutAnimationController controller = new LayoutAnimationController(AnimationUtils.loadAnimation(context, android.R.anim.slide_in_bottom)); m_Row.setLayoutAnimation(controller); m_Row.startLayoutAnimation();
but it doesn't have the expected effect. The row height still increases to its new height in a single jump, but the layout animation is applied to the textview inside the row! I kind of just want the animation to apply to the whole row as it changes to its new height. Thanks, Mark On Mar 28, 1:15 am, Mark Wyszomierski <[EMAIL PROTECTED]> wrote: > Hi, > > I have a table layout with one row. Inside the row is a child > textview, which is a single line of text. > > When I add a longer string to the text view, it becomes say 5 lines in > height, expanding its parent row height. That is good. > > Is it possible though to animate the resizing of the row so it > gracefully expands in height, an inspirational fluid flight of pixels > across the screen universe, or am I stuck with a plain old one time > resize? > > It seems this may be possible with: > > m_Row.setLayoutAnimation(?); > m_Row.startLayoutAnimation(); > > where m_Row is the TableRow of interest, but am not quite sure how to > set the expand animation I want, > > Thanks, > Mark --~--~---------~--~----~------------~-------~--~----~ 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] Announcing the new M5 SDK! http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

