0

This question has already been asked before( here ). But there is no good answer.

I want to apply animation using LayoutAnimationController only to only few views in the ViewGroup( The viewgroup here is a ListView). How should i do that?

   LayoutAnimationController lac = new LayoutAnimationController(getActivity(), AnimationUtils.loadAnimation(getActivity(), R.anim.fade_in), 0.3f);

mYearListView.setLayoutAnimation(lac);

Or by any way can i apply two types of animation in a single LayoutAnimationController? For example, for views 1 to 4, animation 1 and for views 5 to 8, i want to apply animation 2?

Community
  • 1
  • 1
Diffy
  • 2,339
  • 3
  • 25
  • 47

0 Answers0