Hi, I have a LinearLayout, with a text and a button, which I want to show and hide (using translate animation) sometimes. As for now I show/hide it by setVisibility() to View.GONE or View.VISIBLE. To set the translate animation I do this:
myLinearLayout.setLayoutAnimation(new LayoutAnimationController (myTranslateAnimation)); But when I call myLinearLayout.setVisibility(View.VISIBLE), myLinearLayout shows imediately but without the text and the button. The text then slides to the linearlayout and then the button does the same. When I call setVisibility next time there is no animation at all. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---

