Hi Im using a listview to display some self defined objects. this works great. then i wrote an animation to smoothly slide down the list:
*Code:* public static void downFromTopAnimation(ViewGroup panel, Context ctx) { AnimationSet set = new AnimationSet(true); Animation animation = new AlphaAnimation(0.0f, 1.0f); animation.setDuration(100); set.addAnimation(animation); animation = new TranslateAnimation( Animation.RELATIVE_TO_SELF, 0.0f, Animation.RELATIVE_TO_SELF, 0.0f, Animation.RELATIVE_TO_SELF, -1.0f, Animation.RELATIVE_TO_SELF, 0.0f ); animation.setDuration(500); set.addAnimation(animation); LayoutAnimationController controller = new LayoutAnimationController(set, 0.25f); panel.setLayoutAnimation(controller); } i call this with downFromTopAnimation(listview, context); This works really great, but if a expand the list with more objects, the whole list is slide down with the animation but i'd like to change it so that only the new items slide down smoothly. has anybody any hint how to do this?? thanks!!!! -- 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 To unsubscribe, reply using "remove me" as the subject.